Hi,

Connecting to a room is done in flash by appending the room name to the
app url like: connect( "rmtp://localhost/myapp/room_one" ).
The order of callbacks in Red5 si here:
http://www.joachim-bauch.de/tutorials/red5/MigrationGuide.txt#execution-order-of-connection-methods

cosmin

> Hello again,
>
> has anybody some hints for me?
>
> Thanks,
> Gerwin
>
>
> Begin forwarded message:
>
>> From: Gerwin Brunner <[EMAIL PROTECTED]>
>> Date: 29. Juni 2007 17:17:41 GMT+02:00
>> To: [email protected]
>> 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
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to