Hi,
I am working on an application which uses zoom for video conferencing.
My application worked fine on iOS 10.
While trying to extend support for iOS 11, when I compiled my code using Xcode 9.1, then application crashes while Joining meeting.
- (void)joinMeeting:(NSString *)meetingNumber withTitle:(NSString *)meetingTitle withUsername:(NSString *)username
{
dispatch_async(dispatch_get_main_queue(), ^{
if (![meetingNumber length])
return;
MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];
if (ms)
{
[ms customizeMeetingTitle:meetingTitle];
ms.delegate = self;
//For Join a meeting with password
NSDictionary *paramDict = @{
kMeetingParam_Username:username,
kMeetingParam_MeetingNumber:meetingNumber,
kMeetingParam_MeetingPassword:@""
};
MobileRTCMeetError ret = [ms joinMeetingWithDictionary:paramDict];
NSLog(@“onJoinaMeeting ret:%d”, ret);
}
});
}
I verified that neither meeting number nor user name is nil.
The console log as per above code is as below:
onJoinaMeeting ret: 0
This means join meeting is successful.
It crashes once the callback
“- (void)onMeetingStateChange:(MobileRTCMeetingState)state” returns "
MobileRTCMeetingState_Connecting"
Please provide a solution to this.