gurugrafico / video-chat

Automatically exported from code.google.com/p/video-chat
1 stars 0 forks source link

Red5 Rare Faliure. #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This failure is rare and seem to be cause by differences in speed and or 
internet connection speed of users

What steps will reproduce the problem?
1.Start session between 2 users with noticeable difference in internet 
connection and/or computer speeds   
2.confirm that the red5 server retrieved an event:
dispatchEvent: adjust archaic videoTime, from: x to y
3.close connection using :
outgoingStream/incomingStream.close();
outgoingStream/incomingStream.removeEventListener(NetStatusEvent.NET_STATUS, 
outgoingStreamHandler);
until this poin everything is fine
then when using :
outgoingStream/incomingStream = null;

decoder will send an error curupting the server and abusing the jvm memory cach.
What is the expected output? What do you see instead?
The expected output is blank (no events)
the real result is a decoder error:

[WARN] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - 
Unknown object type: 0/2/3

whitch will result in jvm heap space error andserver failure; 

What version of the product are you using? On what operating system?
seem to be going threw all the latest version of red5.
vps tested on was centos dont think os make much differece...

as far as i've tried removing the lines:
outgoingStream/incomingStream = null;
solves the problem.

Original issue reported on code.google.com by vl...@troidesign.com on 1 Sep 2011 at 1:19

GoogleCodeExporter commented 9 years ago

Original comment by kalman.venczel on 1 Sep 2011 at 2:17