Can not start meeting with SDK 5.0.24433.0616

After updateting from 4.6.21666.0428 to 5.0.24433.0616, It is not possible to start a meeting from the sdk.

The code that worked with 4.6:

            ZOOM_SDK_DOTNET_WRAP.StartParam param = new ZOOM_SDK_DOTNET_WRAP.StartParam();
            param.userType = ZOOM_SDK_DOTNET_WRAP.SDKUserType.SDK_UT_WITHOUT_LOGIN;
            ZOOM_SDK_DOTNET_WRAP.StartParam4WithoutLogin start_withoutlogin_param = new ZOOM_SDK_DOTNET_WRAP.StartParam4WithoutLogin();
            start_withoutlogin_param.meetingNumber = ParseMeetingNumberAndConvertToUlong(textBox_meetingnumber_api.Text); // Converting from string to ulong and remove '-'

            start_withoutlogin_param.userName = textBox_username_api.Text;  // The username in the meeting (example "LastName, ForeName")
            start_withoutlogin_param.userID = this.m_Config.currentMeeting.apikey;

            // The next parameter seems to have been removed in version 5.0...
            start_withoutlogin_param.userToken = this.m_Config.currentMeeting.Email;
            
            start_withoutlogin_param.userZAK = ZAK;
            start_withoutlogin_param.zoomuserType = ZOOM_SDK_DOTNET_WRAP.ZoomUserType.ZoomUserType_APIUSER;
            param.withoutloginStart = start_withoutlogin_param;
           
            err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().Start(param);

Please advice. What need to be changed to have it work on version 5.0?

Hi @bm.erikstad,

Thanks for the post. There are some changes in SDK 5.0 as mentioned in https://github.com/zoom/zoom-sdk-windows#latest-sdk-news and one of them is the userToken is being removed and the API user type has been merged into “Without login” user type.

The userToken is a token that you retrieved from https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken, and you get ZAK from this API as well. We have removed the userToken so you only need to call this https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken API once to get the token.

userID would be the email address.

You may refer to the implementation in our demo app for this: https://github.com/zoom/zoom-sdk-windows/blob/master/demo/sdk_demo_v2/LOGIN_sdk_login_UI.cpp#L301

Thanks!