Description
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 {
return
}
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