iOS App getting crashed when clicking leave button in live webinar

Hi @elaine.ku @carson.zoom ,

App is still crashing in iPhone also while leaving the meeting with latest SDK ver 5.13.5

When i typed bt all;image list; on xcode console after the crash, it printed following error
error: bt [ | all]

But i got some results when i typed bt all and then image list on the Xcode console. Please download the files from below links which contains the output i got after typing bt all and image list

image list → image list.rtf - Google Drive

bt all —> bt all.rtf - Google Drive

bt all;image list; ----> iphoneCrash.png - Google Drive

I also noticed when i leave the meeting then meeting status changes to connecting after disconnecting in onMeetingStateChange delegate method.

Is there anything we need to do when meeting status changes to disconnecting? I mean why the status is changing from disconnecting to connecting while leaving the meeting.

Hi @coolgary90 ,

We’re now working on it and found some possible issues that cause the crash, but we cannot reproduce the problem you’ve mentioned to prove our finding. Would you please provide the detailed step to reproduce the issue?
Thank you

Elaine

Hello @coolgary90 ,

Is there an update about the steps to reproduce the issue? We were trying to find out the root cause of this issue but would like to have your help to provide the steps.
Thank you

Elaine

Hi @elaine.ku @carson.zoom

Detail steps are as follow:

  • Authorize the zoom SDK with client key and client secret.
  • Join the live zoom webinar by providing userName, meetingNumber and webinarToken
  • Able to attend the meeting successfully.
  • But when we try to leave the meeting by clicking leave meeting button, iOS app crashes.

Please check the below link of swift file which we are using to authorize the zoom SDK and join the meeting.

Please let me know if that helps to debug the issue.

Thanks!

Hello @coolgary90 ,

Our team has tried the same step as yours but we cannot reproduce the issue. We had looked into the swift file that you provided and wondering if the foundation onClickedEndButton is to leave the meeting since it didn’t use the leaveMeetingWithCmd function.

Hi @elaine.ku @carson.zoom

I have tried using service.leaveMeeting(with: .leave) also in onClickedEndButton(), But still the app was crashing at our end.

Did you find anything missing in the ZoomWebinar.swift file which i had shared earlier ?

Thanks!

Hi @coolgary90 ,

Just wondering where is the function service.leaveMeeting from since we do not have this function in our SDK. We only have function leaveMeetingWithCmd in the meeting service interface.
Thank you

Elaine

Hi @elaine.ku @carson.zoom

Regarding service.leavingMeeting, I am referring for below code. Here we are using object of getMeetingService to leave the meeting.

if let service = MobileRTC.shared().getMeetingService(){
service.leaveMeeting(with: .leave)
service.delegate = nil
}

Is there anything else we need to do while leaving the meeting and did you find anything which we are missing in ZoomWebinar.swift which i shared earlier ?

Will really appreciate if you can please let us know if we are missing something here.

Thanks!

Hi @elaine.ku @carson.zoom
Can you please provide your feedback regarding the code we shared earlier and let us know if we are missing something in the implementation?

Thanks!

Hi @coolgary90 ,

Sorry for the late reply. We do not have the function leaveMeeting in our meeting service. There’s only leaveMeetingWithCmd. E.g.:

MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];
if (!ms) return;
[ms leaveMeetingWithCmd:LeaveMeetingCmd_End];

Would you please use leaveMeetingWithCmd to leave/end the meeting and see whether the app still crashed?
Thank you

Elaine

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