Skip to content

Commit 2311b9d

Browse files
Update breakoutrooms-web.md
1 parent fa3c1d1 commit 2311b9d

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

articles/communication-services/how-tos/calling-sdk/includes/breakoutrooms/breakoutrooms-web.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -173,19 +173,6 @@ if(breakoutRoom.state == 'open' && !breakoutRoom.autoMoveParticipantToBreakoutRo
173173
const breakoutRoomCall = await breakoutRoom.join();
174174
}
175175
```
176-
When the user joins the breakout room, the user is automatically removed from the main meeting. Subscribe to the breakout room features from the `call` object in the `callsUpdated` event on `callAgent` to get other updates of breakout rooms like breakout rooms closed or breakout rooms assignment changed events.
177-
178-
```js
179-
callAgent.on('callsUpdated', e =>{
180-
e.added.foreach((call) => {
181-
if(call.id == mainMeetingCall.id){
182-
call.feature(SDK.Features.BreakoutRooms).on('breakoutRoomsUpdated', breakoutRoomsUpdatedListener);
183-
// subscribe to other events for breakout room call
184-
}
185-
}
186-
});
187-
```
188-
189176
When the user is in a breakout room and the organizer assigns a new breakout room to the user, the user gets `breakoutRoomsUpdated` event with the type `assignedBreakoutRooms`. This event contains the latest breakout room details. The user has to `hangUp()` previous breakout room call. If `autoMoveParticipantToBreakoutRoom` is set to `true`, the user is automatically moved, otherwise the user has to call the `join` method explicitly on the new breakout room.
190177

191178
```js

0 commit comments

Comments
 (0)