You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/how-tos/calling-sdk/includes/breakoutrooms/breakoutrooms-web.md
+8-28Lines changed: 8 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,23 +87,7 @@ Event **breakoutRoomsUpdated** provides instance of one of the following classes
87
87
data: Call | TeamsCall;
88
88
}
89
89
```
90
-
5. Class `RejoinMainMeetingEvent` : This event is triggered when the participant is joining the main meeting when the breakout room is closed. This event can happen when the breakout room state is `closed` and the user is automatically moved to the main meeting. Property `data` contains the main meeting `call instance, that developers can use to listen to the breakout room events. This class has a property `type` equal to `"rejoinMainMeeting"`;
91
-
```js
92
-
/**
93
-
* Name of event type for main meeting joined event
94
-
*/
95
-
exportinterfaceRejoinMainMeetingEvent {
96
-
/**
97
-
* Breakout room event type
98
-
*/
99
-
type: "rejoinMainMeeting";
100
-
/**
101
-
* Main meeting call object
102
-
*/
103
-
data: Call | TeamsCall;
104
-
}
105
-
```
106
-
90
+
107
91
The following code shows you valuable information received in the breakout room events:
108
92
```js
109
93
constbreakoutRoomsUpdatedListener= (event) => {
@@ -130,11 +114,7 @@ The following code shows you valuable information received in the breakout room
130
114
case"join":
131
115
constbreakoutRoomCall=event.data;
132
116
console.log(`You have joined breakout room with call ID: ${breakoutRoomCall.id}`);
133
-
break;
134
-
case"rejoinMainMeeting":
135
-
constmainMeetingCall=event.data;
136
-
console.log(`You have joined the main meeting with call ID: ${mainMeetingCall.id}`);
To exit a breakout room, users should execute the `hangUp()` function on the breakout room call. The user would be calling `RejoinToMainMeeting` to resume the main meeting call.
192
+
To exit a breakout room, users should execute the `hangUp()` function on the breakout room call. The user would be calling `ReturnToMainMeeting` to resume the main meeting call.
When the breakout room state is `closed`, user is informed about the end of breakout room by receiving event `breakoutRoomsUpdated` with class `AssignedBreakoutRoomsEvent` and property `type` equal to `assignedBreakoutRooms` that indicates that `assignedBreakoutRoom` has property `state` set to `closed`. User returns to the breakout room automatically and informed about rejoining the main meeting by receiving event `breakoutRoomsUpdated` with class `RejoinMainMeetingEvent` and property `type` equal to `rejoinMainMeeting`.
201
+
When the breakout room state is `closed`, user is informed about the end of breakout room by receiving event `breakoutRoomsUpdated` with class `AssignedBreakoutRoomsEvent` and property `type` equal to `assignedBreakoutRooms` that indicates that `assignedBreakoutRoom` has property `state` set to `closed`. User leaves the breakout room automatically and can return to the main meeting by calling `returnToMainMeeting()` as shown above.
222
202
223
-
If the user wants to leave the breakout room even before the room is closed and the breakout room settings `breakoutRoomsFeature.breakoutRoomsSettings` have property `disableReturnToMainMeeting` set to `false` then user can rejoin to the main meeting call with the following code:
203
+
If the user wants to leave the breakout room even before the room is closed and the breakout room settings `breakoutRoomsFeature.breakoutRoomsSettings` have property `disableReturnToMainMeeting` set to `false` then user can return to the main meeting call with the following code:
|412| 46258 | UnexpectedClientError | Unable to read breakout room details. | Gather browser console logs and contact Azure Communication Services support. |
302
282
|500 | 46259| UnexpectedServerError | Could not hang up the Breakout room call. | Follow the instructions defined in the section `Leave breakout room` for manual leaving of breakout room. |
303
283
|412| 46260 | UnexpectedClientError | Cannot join Breakout Room as it is not yet assigned. | Ensure that the `breakoutRoomsFeature.assignedBreakoutRoom` is having the details of the assigned breakout room. Ensure that the `state` of `assignedBreakoutRoom` is `open` and call `breakoutRoomsFeature.assignedBreakoutRoom.join()` method explicitly. |
304
-
|412| 46261 | UnexpectedClientError | Unable to join the main meeting. Please try again by calling the RejoinMainMeeting() method. If the issue persists, gather browser console logs and contact Azure Communication Services support.|
284
+
|412| 46261 | UnexpectedClientError | Unable to join the main meeting. Please try again by calling the `breakoutRoomsFeature.assignedBreakoutRoom.returnToMainMeeting()` method. If the issue persists, gather browser console logs and contact Azure Communication Services support.|
305
285
|412| 46262 | ExpectedError | Already in the main meeting. Please call this method only when the participant is in breakout room and removed from the main meeting.|
306
286
|412| 46263 | UnexpectedClientError | Existing breakout room call hangup failed. Try to call hangup() method again to hangup the call. Call join() method to join the breakout room again. |
0 commit comments