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
+31-18Lines changed: 31 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,23 @@ 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
The following code shows you valuable information received in the breakout room events:
91
108
```js
92
109
constbreakoutRoomsUpdatedListener= (event) => {
@@ -115,6 +132,10 @@ The following code shows you valuable information received in the breakout room
115
132
constbreakoutRoomCall=event.data;
116
133
console.log(`You have joined breakout room with call ID: ${breakoutRoomCall.id}`);
117
134
break;
135
+
case"rejoinMainMeeting":
136
+
constmainMeetingCall=event.data;
137
+
console.log(`You have joined the main meeting with call ID: ${mainMeetingCall.id}`);
@@ -164,7 +185,7 @@ callAgent.on('callsUpdated', e =>{
164
185
});
165
186
```
166
187
167
-
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, other wise the user has to call the `join` method explicitly on the new breakout room.
188
+
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.
Microsoft 365 user with role organizer, co-organizer, or breakout room manager get the list of breakout rooms created by the breakout room manager or organizer of the main meeting. In this case, the behavior is slightly different. This user has to explicitly call `join()` method to join the breakout room. The user is kept on hold in the main meeting. When the leaves the breakout room, then the user's main meeting call is automatically resumed.
196
216
197
217
If the user wants to join any of the breakout rooms , then the user explicitly calls the `join` method.
To exit a breakout room, users should execute the `hangUp()` function on the breakout room call. The user is automatically resumed in the main meeting.
225
+
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.
When the breakout room state is `closed`, user has to join the main meeting using the `mainMeetingUrl` provided in `breakoutRoomsSettings`. 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`.
234
+
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`.
214
235
215
-
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 join the main meeting call with the following code:
236
+
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:
- `roomEndTime`: Breakout room end time set by the Microsoft 365 user with role organizer, co-organizer, or breakout room manager of the main meeting. This property is read-only.
|412| 46258 | UnexpectedClientError | Unable to read breakout room details. | Gather browser console logs and contact Azure Communication Services support. |
305
315
|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. |
306
316
|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. |
317
+
|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.|
318
+
|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.|
319
+
|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