> Dmitry Frolov wrote:
>> Hi,
>> 
>> When I have problems with network sometimes my client-app disconnects
>> from red5-server. So on client side I can catch status 
>> "NetConnection.Connect.Closed",
>> but on server side nothing happens. appDisconnect event do not
>> fires and there are no entries in logs.
>> How could my red5-app get info about client disconnection? Or is there
>> any timeout? may be if client does not send any queries/messages to server
>> for a long time it disconnects automatically?

> appDisconnect is not a handler. appLeave is the handler you need. 
> Override appLeave method that can be found in ApplicationAdapter class.

> When client disconnects from the server DEBUG message should appear on
> server console if appLeave isn't overriden.


Hi, Michael

appLeave handler also does not fire (you can pull out your network
cable to check it). But probably I found solution:
both handlers fires when I try to invoke disconnected client. So I can
set up scheduling service that will send "ping" to each connected
client. But may be you know the better way to solve this problem?


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to