I am using
ZoomSDKNewBreakoutRoomController to enable the breakout rooms in my app.
So far, I am not able to understand the correct flow for breakout rooms, Can you please provide me a sample code to join and leave breakout room, also if there is a function to perform
later action for join breakout room dialogue.
I am assigning the delegate to
ZoomSDKNewBreakoutRoomController after the meting status is
sdk.getMeetingService()?.getNewBreakoutRoomController()?.delegate = self
When host added the user to breakout room, I get below callback. I am using this callback to show my custom popup UI to join the breakout room.
func onHasAttendeePermission( **_** attendeeObject: ZoomSDKBOMeetingAttendee)
To join the breakout room, I call below method, and it work fines.
To reject the breakout room request I am using below method.
I am having problems with
onHasAttendeePermission function, it gets called multiple times during the join/leave meeting flow.
- When host adds me to breakout room and opens the break out room, I get the correct callback for
- Then before joining the BO room, I get
- After i joined the BO room, I get
- Then when I am calling
getBOMeetingAttendee().leaveBO()to leave room, I get callback for
- After that when I am in the main meeting, I again get the
onHasAttendeePermissioncallback. This is not expected, as this will again ask the user to join BO room, even when he just joined and left it.
Earlier, we were using
ZoomSDKBreakoutRoomsController which is deprecated now but it has simpler interfaces for BO rooms. Can you please provide me the sample code for using
ZoomSDKNewBreakoutRoomController as it is not very clear from the documentation.
To Reproduce(If applicable)