Hello @carson.zoom i tried the sample code provided in the Github -> Code Snippet from Github
Still i am getting Invalid access token, here i am attaching the code.
-
(void)startMeeting_RestApiWithoutLoginUser:(BOOL)appShare
{
MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];
//Sample for Start Param interface
MobileRTCMeetingStartParam * param = nil;//Sample: How to Get Token or ZAK via RestAPI
NSString * token = [self requestTokenOrZAKWithType:MobileRTCSampleTokenType_Token];
NSString * ZAK = [self requestTokenOrZAKWithType:MobileRTCSampleTokenType_ZAK];MobileRTCMeetingStartParam4WithoutLoginUser * user = [[MobileRTCMeetingStartParam4WithoutLoginUser alloc]init];
user.userType = MobileRTCUserType_APIUser;
user.meetingNumber = @“some_random_number”;
user.userName = @“name”;
user.userToken = token;
user.userID = @“my_email”;
user.isAppShare = appShare;
user.zak = ZAK;
param = user;MobileRTCMeetError ret = [ms startMeetingWithStartParam:param];
NSLog(@“onMeetNow ret:%d”, ret);
return;
}
If you suggest me a better way to share the APIKey and APISecret, i will share that also for your reference.
And i need one more clarification, Only login user can schedule a Meeting or any user with Zoom Token and Zoom Access Token can schedule a meeting?
Thanks.