Wouldn't it be better for having a method like:
scope.remove();

The problem is that red5 has created the room, not the client (the client
requests it). The client doesn't need to be disconnected, he just needs to
leave the room.

I already disconnected all the users from the scope that should be enough,
right?.

When I check with this piece of code where roomObj is a IScope instance:

Set<IClient> clients = roomObj.getClients();
Iterator iter = clients.iterator();
while ( iter.hasNext() ) {
   IClient client = (IClient) iter.next();
   log.info( "Still connected: "+client.getAttribute("username") );
}
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to