[Red5] Need help with shared object statistics

Thomas Auge auge at virtues.net
Mon Nov 19 11:45:13 PST 2007


Hi all,

I run a webcam chat based on red5. Most of the server side stuff is 
pieced together from the demos, since I am not really good with java. :P

Now I noticed that methods have been added to get shared object 
statistics - something I needed badly, because right now I am counting 
people in a chatroom by letting clients send a sort of ping message. But 
I am missing a link here. :(

I have the shared object name (non persistent), the client 
(conn.getClient) and the connection (Red5.getConnectionLocal). How do I 
get to SharedObject.getActiveListeners() from there?

I know this might sound stupid, but I am lost. When I hear java I think 
coffee. ;)

Thanks,

Thomas




More information about the Red5 mailing list