startMeeting ZoomSDKError_InvalidPrameter


#1

By debugging Mac sample project, after clicking button Video Meeting, the startMeeting returns ret ZoomSDKError_InvalidPrameter. Anyone can help please?

  • (ZoomSDKError)startVideoMeetingForEmailUser
    {
    ZoomSDKMeetingService* meetingService = [[ZoomSDK sharedSDK] getMeetingService];
    if (meetingService)
    {
    ZoomSDKError ret = [meetingService startMeeting:ZoomSDKUserType_ZoomUser userID:nil userToken:nil displayName:nil meetingNumber:nil isDirectShare:NO sharedApp:0 isVideoOff:NO isAuidoOff:NO vanityID:nil];
    return ret; // error here
    }
    return ZoomSDKError_Failed;
    }

#2

What parameters do you set?


#3

Hi Yuan, I have not changed any code but just left as it was.


#4

I was using the GitHub Mac sample code btw.

By using my account SDK key and Secret, Login succeeds, Auth succeeds as well but after that in the meeting page, when I clicked the Video Meeting button, nothing popped up.


#5

Which type of account are you login? email, sso, or rest api?


#6

Actually there was no place to input the email account. I cannot remember precisely but maybe only the first time running the app it required my email account? It only asks for SDK key and secret, which I copied from zoom site with my account logged in.


#7

You need input email acoount/password to sign in, then you can start meeting for email user successfully.


#8

HI Yuan,

I have run the application in debug again and still got no luck.
I have input my Email and Password as well as the SDK Key and Secret but still cannot start the Video Meeting.

Please help. Thanks.


#9

I am using Xcode 9.4.1. Could it be an issue?


#10

Cannot reproduce this issue on ZoomSDKSample. Did you login successfully? What’s the return value of login and start meeting?


#11

Here is what I did:

  1. Git clone from repo (master) to local https://github.com/zoom/zoom-sdk-macos;
  2. Copy folder ZoomSDK into ZoomSDKSample;
  3. Run local.

The login returns Success. The meetingService startMeetings returns ZoomSDKError_InvalidPrameter.


#12

Before call start meeting api, please add same code to get the value of property zoomDomain in ZoomSDK.h. Just to verify whether the domain value is nil.


#13

Thank you so much Yuan!!!

Just found the reason that I have never set the domain! I thought the domain would be same as the placeholder but apparently it is not.


#14

We don’t set any default domain, user need to set this at first.


#15

It works now. Thanks again!