GetAudioRawData sample: SDKERR_INVALID_PARAMETER when joining a meeting

Good time of day, Zoom developers!

We try to debug the GetAudioRawData code sample in Visual Studio Prof 2002 on Windows 11.

The sample location: Zoom_MeetingSDK_Windows_RawDataDemos/GetAudioRawData at master · tanchunsiong/Zoom_MeetingSDK_Windows_RawDataDemos · GitHub

When it tries to join our meeting (running in Zoom Workplace on the same machine), it gives SDKERR_INVALID_PARAMETER, without any further explanations.
It looks like the JWT token is OK, and both the meeting number and the passcode (both taken from the meeting info) are also OK.

We tried different combinations of the parameters in JoinParam4WithoutLogin, with the same result. Now we initialize the minimal set of fields in it:

// Try to create the meeting configuration object, it’s used to configure the meeting.
// JoinParam4WithoutLogin param joins a meeting as a guest user, who typically doesn’t login.
JoinParam joinMeetingParam;
JoinParam4WithoutLogin param;
joinMeetingParam.userType = SDK_UT_WITHOUT_LOGIN;
param.meetingNumber = meeting_number;
param.psw = passcode.c_str();
param.userName = L"GetRawAudio(Bot)";
// param.userZAK = NULL;
// param.join_token = NULL;
// param.onBehalfToken = NULL;
// param.vanityID = NULL;
// param.customer_key = NULL;
// param.webinarToken = NULL;
// param.app_privilege_token = NULL;
// param.hDirectShareAppWnd = 0;
// param.isAudioOff = false;
// param.isVideoOff = true;
// param.isMyVoiceInMix = false;
// param.isDirectShareDesktop = false;
// param.isAudioRawDataStereo = true; // The default is false (mono).
// param.eAudioRawdataSamplingRate = AudioRawdataSamplingRate_32K;

joinMeetingParam.param.withoutloginuserJoin = param;
err = meetingService->Join (joinMeetingParam);

The output:

Reading meeting parameters from config.json.
SDK JWT: eyJ0eXAiOiJKV1QiLC********
Meeting number: 95943936502.
Passcode: 635***
Video source: Big_Buck_Bunny_1080_10s_1MB.mp4.
Initializing the SDK…
SDK Initialized.
CreateNetworkConnectionHelper created.
NetworkConnectionHandler registered. Detecting proxy.
OnProxyDetectComplete
Authorizing the SDK with JWT Token…
AuthService created.
AuthServiceEventListener added.
Setting JWT token.
Auth call started, auth in progress.
OnAuthenticationReturn: auth result: 0
Auth succeeded: JWT.
OnLoginReturnWithReason: 0
Started joining the meeting…
Meeting service created.
Setting service created.
Meeting params: meeting number: 95943936502, passcode: 635***, user name: GetRawAudio(Bot), meeting type: 101.
Joining the meeting 95943936502
ERROR: Cannot join the meeting, error code: 3
SDK ERROR: 3, invalid parameters.

We use the latest version of the Meeting SDK for Windows: v6.3.10.59937

Another question: Is it possible to debug the SDK methods? The debugger does not go inside the meetingService->Join (joinMeetingParam) call. I guess, it’s because there is no debug version of the dll available.

Thank you in advance for your help!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.