views:

16

answers:

0

Hi, I have a problem with the red5 server. I was able to install ist and connections to http://MYIP:1935/ are recognized in the logs.

When try to connect in browser to http: //MYIP:1935/oflaDemo/avatar.flv I get a file saving dialog (Filesize 0byte)

Opening rtmp: //MYIP:8081/oflaDemo/avatar.flv in FLV Player produces the following error:

access_rtmp error: cannot listen to myip port 8081 main error: open of `rtmp: //MYIP:8081/oflaDemo/avatar.flv' failed: (null)

The error log from red5 gives these errors:

2010-10-17 21:28:32,606 [Red5_Scheduler_Worker-4] WARN o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from MYHOMEIP: 64996 to null (in: 392 out 0 ), with id 657974 due to long handshake

I cannot figure out, what to do. It is no firewall issue (I opened the relating ports)

This is my red5.propertier:

# Socket policy
policy.host=MYIP
policy.port=843

# HTTP
http.host=MYIP
http.port=80
https.port=843

# RTMP
rtmp.host=MYIP
rtmp.port=1935
rtmp.io_threads=16
rtmp.connect_threads=4
rtmp.send_buffer_size=271360
rtmp.receive_buffer_size=65536
rtmp.ping_interval=1000
rtmp.max_inactivity=60000
rtmp.tcp_nodelay=true

# RTMPS
rtmps.host=MYIP
rtmps.port=843
rtmps.ping_interval=5000
rtmps.max_inactivity=60000
rtmps.max_keep_alive_requests=-1
rtmps.max_threads=20
rtmps.acceptor_thread_count=2
rtmps.processor_cache=20
# RTMPS Keystore Password
rtmps.keystorepass=password

# RTMPT
rtmpt.host=MYIP
rtmpt.port=80
rtmpt.ping_interval=5000
rtmpt.max_inactivity=60000
rtmpt.max_keep_alive_requests=-1
rtmpt.max_threads=20
rtmpt.acceptor_thread_count=2
rtmpt.processor_cache=20

# MRTMP
mrtmp.host=0.0.0.0
mrtmp.server=localhost
mrtmp.port=9035
mrtmp.event_threads_core=4
mrtmp.event_threads_max=32
# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queue
mrtmp.event_threads_queue=0
mrtmp.event_treads_keepalive=60
mrtmp.send_buffer_size=271360
mrtmp.receive_buffer_size=65536
mrtmp.ping_interval=5000
mrtmp.max_inactivity=60000
mrtmp.tcp_nodelay=true

# Debug proxy (needs to be activated in red5-core.xml)
proxy.source_host=0.0.0.0
proxy.source_port=1936
proxy.destination_host=127.0.0.1
proxy.destination_port=80

# JMX
jmx.rmi.port.registry=9998
jmx.rmi.port.remoteobjects=
jmx.rmi.host=0.0.0.0
jmx.rmi.ssl=false

I hope anyone can help me

Thanks in advance