OK, I've looked through the archives, and I can't find any good
definitive answers.
So, let's get this nailed down once and for all.
There seems to be some confusion about scopes for quite a few Red5
users, including me.
I want to be able to take a connected user and change their scope on the
server-side.
This would be used, for example, to change chat rooms, etc.
I do NOT want to do this client side by making a new net connection.
I do NOT want to lose the original connection to the application at any
point while changing scopes.
Is the correct way to do a IConnection.connect() ?
Example:
// join a room named roomName
public boolean joinRoom( IConnection conn, String roomName )
{
IScope room = this.getChildScope( roomName );
if ( conn.connect( room ) ) {
return true;
}
return false;
}
Also, is it possible for a client to be connected to two sibling scopes
at the same time with one connection?
I look forward to anyones' response.
-Mike
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org