I have a setup where there are two simultaneous rooms where 4 people can be at a time...
1 - Lobby, for generic communication and message commands (such as which game to switch to, perhaps text, etc.)
2 - Individual rooms which can load custom extensions for games
Ideally- the RedBox extension would be triggered when joining the lobby, and then the users can communicate about which game they want to play- and they can join the game room while still maintaining the a/v communication of lobby.
But I'm finding that joining a second room, in addition to the first, is destroying the AV connection even though unpublishLiveCast was never called.
Two rooms - one for A/V
Actually... seems it can be done clientside in AVCastManager...
Instead of
It could be triggered manually... no?
Instead of
Code: Select all
public function onRoomJoin(evt:SFSEvent):void
{
// Unpublish outgoing stream
unpublishLiveCast();
// Unsubscribe all incoming streams
unsubscribeAllLiveCasts();
// Re-initialize live casts list
initCastList();
}
It could be triggered manually... no?
Who is online
Users browsing this forum: No registered users and 52 guests