Hi Tom,

Tom Krcha wrote:
When user connects the appJoin is executed. And I need to let other connected clients know that there is someone new by setting shared object.

But this time (appJoin) the scope.getClients() is empty.

So the problem is, that maybe you add client to scope after appJoin, but the user must be there before it. No?

No, the method is called when the user is about to enter the room, i.e.
he isn't in it yet.  It's called before the user entered, so he can be
rejected before he is in the room.

The same situation is at appLeave. When I write connected clients (scope.getClients()), the user is still there, but he already left the room, no?

Same here, the user is about to leave the room, i.e. has not yet left.

Joachim

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to