Can’t show video interface at the beginning of the meeting
XCode 13.2
macOS 11
zoom-sdk-ios-5.9.1.2191
After getting the correct authorization ,And login in with right email username and password,
We run the the following code as below:
if ([[[MobileRTC sharedRTC] getAuthService] isLoggedIn]) {
MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];
if (ms){
#if 0
//customize meeting title
[ms customizeMeetingTitle:@“Sample Meeting Title”];
#endif
}
//Sample for Start Param interface
MobileRTCMeetingStartParam * param = nil;
MobileRTCMeetingStartParam4LoginlUser * user = [[MobileRTCMeetingStartParam4LoginlUser alloc] init];
user.meetingNumber = @"";
user.vanityID = @"";
param = user;
param.meetingNumber = nil;
param.isAppShare = false;
MobileRTCMeetError ret = [ms startMeetingWithStartParam:param];
NSLog(@"onMeetNow ret:%@", @(ret));
}else{
printf("not loggin\r\n");
}
The operation log is displayed as follows:
2022-06-05 21:42:41.907948+0800 MobileRTCSample[293:5437] onMeetNow ret:0
2022-06-05 21:42:44.659494+0800 MobileRTCSample[293:5437] Metal API Validation Enabled
2022-06-05 21:42:44.929900+0800 MobileRTCSample[293:5437] Errors found! Invalidating cache…
2022-06-05 21:42:44.933257+0800 MobileRTCSample[293:5437] Errors found! Invalidating cache…
2022-06-05 21:42:45.260129+0800 MobileRTCSample[293:5437] Errors found! Invalidating cache…
2022-06-05 21:42:47.382967+0800 MobileRTCSample[293:5437] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) ‘Permission denied’, port = 0x1016b, name = ‘group.alice.share.497120213.rpc’
See /usr/include/servers/bootstrap_defs.h for the error codes.
2022-06-05 21:42:47.840299+0800 MobileRTCSample[293:5437] CreateAudioUnit use hardware aec = 1
2022-06-05 21:42:48.132806+0800 MobileRTCSample[293:5437] [IOS].CreateAudioUnit g_audioUinits.count = 1
2022-06-05 21:42:49.331995+0800 MobileRTCSample[293:6092] [Client] Updating selectors after delegate removal failed with: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service on pid 86 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.” UserInfo={NSDebugDescription=The connection to service on pid 86 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.}