[Red5] changing the scope of a connection
thomas at quedesjeux.com
Tue Nov 27 02:42:13 PST 2007
Hi everybody. I'm new to this mailing list, my name is Thomas Wajs. I'm
working with Red5 Server since 2 weeks, and I try to set up some
multi-player game. Red5 just rock, so gratz for the good job. The game
itself work almost properly, but now i experience some problem to extend
the server with multi-room and persistence.
My first question is about changing the scope a client is connected to.
Players are supposed to first stay in the main lobby, then start a game
with an opponent. At this time, they should both be reconnected into a
private gaming room. What I do is retrieving their IConnection in the
application scope, then call :
But the call stack is then :
Why does the client pass through the app* functions ? They just connect
down into the scope tree. That lead me to make some stupid
if(isApp(scope)) test into the app* functions, to differentiate first
connection to the server and game starting. It confuse me a lot that app
can be called on a room connection.
More information about the Red5