[Red5devs] I can't destroy the room
Dmitry Pereuda
dmitro at pereuda.com
Thu Jun 19 22:52:18 PDT 2008
Hello Walter,
Thank you very much for you help...
But I also use log and I see there:
CASE #1: User clicks LOGIN and then LOGOUT button log show me:
===========================
[INFO] [pool-6-thread-16] org.dosware.webapps.conference.Application - >>>> roomStart <<<<
[INFO] [pool-6-thread-16] org.dosware.webapps.conference.Application - >>>> appConnect
[INFO] [pool-6-thread-16] org.dosware.webapps.conference.Application - >>>> roomConnect
[INFO] [pool-6-thread-16] org.dosware.webapps.conference.Application - >>>> roomJoin
...
[INFO] [pool-6-thread-15] org.dosware.webapps.conference.Application - >>>> roomDisconnect
[INFO] [pool-6-thread-15] org.dosware.webapps.conference.Application - >>>> roomLeave
[INFO] [pool-6-thread-15] org.dosware.webapps.conference.Application - >>>> roomStop <<<<
[INFO] [pool-6-thread-15] org.dosware.webapps.conference.Application - >>>> appDisconnect
i.e. all things goes right way...
===========================
BUT CASE #2: User does login with wrong parameters and I do rejectClient(), then log show me:
===========================
[INFO] [pool-6-thread-3] org.dosware.webapps.conference.Application - >>>> roomStart <<<<
[INFO] [pool-6-thread-3] org.dosware.webapps.conference.Application - >>>> appConnect
and all... nothing happends after it.
Then if user does re-login, I do not see this line:
[INFO] [pool-6-thread-3] org.dosware.webapps.conference.Application - >>>> roomStart <<<<
in my log... Then it means that roomStart event did not work. But why?
Should I do so:
rejectClient( reason );
if( room.usersCount() == 0 ) roomStop( room.getScope() );
return false;
HELP! ROOM DOES NOT STOP AFTER RED5 SERVER KICK HIM OFF USING
COMMAND "rejectClient()"!
Thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080620/3a1413ff/attachment.html
More information about the Red5devs
mailing list