Recommended way to leave the meeting when the connection fails

When the user cannot join the meeting, I am trying to leave the Zoom application. See the code snippet below for leaving the zoom client within the ios app.

 func leaveMeeting() {
    guard let ms = MobileRTC.shared().getMeetingService() else {
    DispatchQueue.main.async {
      ms.leaveMeeting(with: .leave)

Here is the status of various delegate call backs. The Int values respresent the enum raw values.

  onMeetingStateChange state: 1
  onJoinMeetingInfo info: 1
  onMeetingStateChange state: 4
  onMeetingEndedReason reason: 0
  onMeetingStateChange state: 1
  onMeetingStateChange state: 7

To me it looks it is always trying to reconnect even though I am forcing to leave the zoom. Is there a better approach to exit the zoom client when the connection fails.

Which iOS Client SDK version?
5.5.1 (12509.0401)

Smartphone (please complete the following information):

  • Device: iPhone 12
  • OS: iOS 14.6

Hey @pgudivada,

Thanks for using the dev forum!

This has been brought up by another developer as well. There is an internal discussion going on about this currently. Will report back with what I hear. Stay tuned :slight_smile:


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.