[Red5devs] Too much inactivity - Calling disconnect callbacks?

Matt Hodgson mhodgson at youcastr.com
Sat May 24 11:22:41 PDT 2008


Hey guys, I posted this on the user list and didn't get a response so  
I figured I'd try here.

I'm seeing the occasional "too much inactivity" message in my logs  
(production) and it appears that when clients are disconnected with  
this method the call backs (such as roomDisconnect, appDisconnect,  
etc.) are not being triggered.

Is this the desired behavior? I know in my case it causes my listener  
objects (in the web server db) to be left as "live" indefinitely since  
the synchronization methods in roomDisconnect are not called.

Can you guys:

1. Verify that this is indeed the desired behavior
2. Provide me some quick direction on how I might be able to modify  
this? My gut says maybe to just call the close method (in  
RTMPCOnnection) in the KeepAliveJob method when the "too much  
inactivity" is triggered.

Thanks for the help.

-Matt



More information about the Red5devs mailing list