Skip to content

Wait in Lobby

adamrangs edited this page Aug 8, 2022 · 1 revision

When use the SDK to join a meeting, sometimes people who join might have to wait in a virtual lobby before entering. The lobby is a virtual place where attendees wait to be admitted to the meeting or wait the meeting to start.

People may need to wait to be admitted before joining the meeting in these cases:

  • If the people who are trying to join aren't on the calendar invite.
  • If it's a Webex scheduled meeting or Webex Personal Room meeting that's locked.
  • If it's a Webex team meeting, but the people who are trying to join aren't members of the space or don't have Webex Teams accounts.

When the attendee is waiting in lobby, the onWaiting callback will be invoked with the reason why the attendee waits in the lobby.

call.onWaiting = {reason in
		   ...
                 }

And the onConnected callback will be invoked normally when the attendee enter the meeting from lobby.

For the host of the meeting, If a attendee enters the lobby, the onCallMembershipChanged callback will be invoked with the CallMembershipChangedEvent.waiting event, and then the Call.letIn function can be used to let this attendee into the meeting.

call.letIn([membership], completionHandler: { (error) in
                                              ...
                                            })