What is the proper way to detect when the client disconnects from the server in red5 4.1

I developed a red5 videoconference chatroom app which works fine except the appDisconnect/leave methods sometimes aren't called when the client disconnects, causing names or webcam slots to get stuck.

Then, I tried to implement a 'ping' system that periodically pings connections to see if they're alive, but i get strange errors when when I added another thread for a java timer.

I prefer version 4.1 as it seems to perform better on windows than version 5 (smoother webcam stream) and fits my needs.


Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to