A Moderator or Participant of ongoing Session of a Room (Parent Room) may join another Room (Aside Room) as a participant with audio/video and talk with everyone in that Room. The user joining aside Room remains available with the same audio/video stream with the Parent Room too. Therefore, he remains visible and audible to both rooms. However, no other user of the Parent Room can listen or talk to others in the Aside Room and vice versa.

Note:

  1. Local Stream is same for both rooms: The user is free to update his local stream in either of the room, but it will be applied in both the Room. For example, if user mutes his mic in one room, his stream will be muted on the other room too.
  2. Aside Room Instance: Success callback on joining aside room will receive room instance. This will help to execute all methods and receive events/callbacks.
  3. Active Talkers: User will receive Active Talker updates from both Rooms.

Class: EnxRoom

Observer: EnxAsideRoomObserver

Method: public void joinAsideRoom(String roomID , EnxAsideRoomObserver asideRoomObserver)

Parameters:

  • roomID – The room ID which the user wants to join
  • EnxAsideRoomObserver – Callback observer to get all aside room callback

Callbacks: 

  • onJoinedAsideRoom – Notification when joined room aside.
  • onFailedAsideRoom – Notification when failed to join room aside.
  • onDisconnectedAsideRoom – Notification when disconnected to joined room aside.
enxRoom.joinAsideRoom(roomID , asideRoomObserver); // To join Aside Room
 
@Override 
public void onJoinedAsideRoom(EnxRoom enxRoom, JSONObject jsonObject){ 
    	//joined Aside Room
	//enxRoom is Aside Room Instance
} 
 
@Override 
public void onFailedAsideRoom(JSONObject jsonObject) { 
    	//Failed to join Aside Room 
} 

@Override 
public void onDisconnectedAsideRoom(JSONObject jsonObject){ 
   	 //Disconnected from Aside Room
}