[Red5] Fwd: Application
Gerwin Brunner
gerwin.brunner at gmail.com
Sat Jun 30 12:29:15 EDT 2007
Hello again,
has anybody some hints for me?
Thanks,
Gerwin
Begin forwarded message:
> From: Gerwin Brunner <gerwin.brunner at gmail.com>
> Date: 29. Juni 2007 17:17:41 GMT+02:00
> To: Red5 at osflash.org
> Subject: Application
>
> Hello all,
>
> I'm just getting started with red5 and came across the following
> problem:
>
>
> I have the following Scope Structure:
>
>
> - Global ( myClient)
> - Application ( Games )
> - Room ( G1 )
> - Room ( G2 )
>
>
> I use the following command in Flash to connect to the server
> (appName = Games)
>
> function connectAndAuthenticate(serverIP:String, appName:String,
> userGameSessionId:String):Void {
> trace("connecting to serverIP["+ serverIP +"] appName["+appName
> +"] userGameSessionId["+userGameSessionId+"] ...");
> var connected:Boolean = nc.connect("rtmp://"+serverIP
> +"/"+appName, userGameSessionId);
> }
>
> Now I want to join the Room G1
> How can I do this in Java?
>
> I came up with the following code:
>
> conn.connect(G1);
>
>
> 1.) Is this the right way to join a room?
>
> 2.) Why do I see in the log that the the client is connected to the
> application again and than to the room?
> Is there a way to just join the room ?
>
>
> Thanks,
> Gerwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20070630/b1a3b7ae/attachment.htm
More information about the Red5
mailing list