Start Meeting – Non-login/API User


1. Start Meeting with Meeting Number
2. Start Meeting Status

After getting the Zoom Token and the Zoom Access Token, you can pass these tokens to start meetings with meeting number.

Start Meeting with Meeting Number

To start a meeting with meeting number, firstly, you need to retrieve a MobileRTCMeetingService instance from MobileRTC:

MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];
if (ms)
#if 0
//customize meeting title
[ms customizeMeetingTitle:@"Sample Meeting Title"];

Then get the Zoom Access Key (ZAK):

//Sample for Start Param interface
MobileRTCMeetingStartParam * param = nil;
//Sample: How to get ZAK via RestAPI
NSString * ZAK = [self requestTokenOrZAKWithType:MobileRTCSampleTokenType_ZAK];

See Get user's ZAK and SDK Authentication for more details about ZAK tokens.

After that, store this value to the MobileRTCMeetingStartParam4WithoutLoginUser object and pass the object to startMeetingWithStartParam function to start a meeting.

MobileRTCMeetingStartParam4WithoutLoginUser * user = [[[MobileRTCMeetingStartParam4WithoutLoginUser alloc]init] autorelease];
user.userType = MobileRTCUserType_APIUser;
user.meetingNumber = kSDKMeetNumber;
user.userName = kSDKUserName;
user.userID = kSDKUserID;
user.isAppShare = appShare;
user.zak = ZAK;
param = user;
MobileRTCMeetError ret = [ms startMeetingWithStartParam:param];
NSLog(@"onMeetNow ret:%d", ret);

Start Meeting Status

To discover whether the start meeting action is successful or not, or to get the error message, you need to implement the onMeetingStatusChange method:

- (void)onMeetingStateChange:(MobileRTCMeetingState)state;
NSLog(@"onMeetingStateChange:%d", state);

Need help?

If you're looking for help, try Developer Support or our Developer Forum. Priority support is also available with Premier Developer Support plans.