Description
I need help suppressing the prompt that asks for your name and email when you join a meeting. I am using Windows SDK with the c# wrapper.
I have a meeting that has the Require Registration setting checked. So zoom prompts users for their name and email. But for my Zoom Client I would like my program to automate this so the program provides the name and email address in code and and joins the meeting without having to go thru the dialog.
I was able to prepopulate the user name and email by calling PrePopulateWebinarRegistrationInfo(). But the dialog comes up and makes me click the join button. I then tried to use DisableShowJoinMeetingWnd() to disable the join button but it had no effect.
My program needs to be fully automated and not have any UI dialogs. And it also needs to get the email address for meeting participants which is why registration is required for the meetings.
Is it possible to have my program join the zoom meeting without getting halted by the username/email prompt?
Which version?
The sdk.dll file is 5.2.41727.0928. This is the Zoom Windows SDK
This is the code I am using to join the meeting:
ZOOM_SDK_DOTNET_WRAP.JoinParam param = new ZOOM_SDK_DOTNET_WRAP.JoinParam();
param.userType = ZOOM_SDK_DOTNET_WRAP.SDKUserType.SDK_UT_WITHOUT_LOGIN;
ZOOM_SDK_DOTNET_WRAP.JoinParam4WithoutLogin join_api_param = new ZOOM_SDK_DOTNET_WRAP.JoinParam4WithoutLogin();
join_api_param.meetingNumber = CurrentMeeting.ZoomMeetingID;
join_api_param.userName = CurrentMeeting.ZoomClientUserName;
join_api_param.psw = CurrentMeeting.PassCode;
param.withoutloginJoin = join_api_param;
ZOOM_SDK_DOTNET_WRAP.SDKError err = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap().Join(param);
public void onMeetingStatusChanged(MeetingStatus status, int iResult)
{
switch(status)
{
case ZOOM_SDK_DOTNET_WRAP.MeetingStatus.MEETING_STATUS_CONNECTING:
// Disable the Choose Audio UI dialog
IMeetingServiceDotNetWrap meetingService = ZOOM_SDK_DOTNET_WRAP.CZoomSDKeDotNetWrap.Instance.GetMeetingServiceWrap();
IMeetingConfigurationDotNetWrap meetingConfig = meetingService.GetMeetingConfiguration();
// prepopulate the meeting startup dialog with the username and email for this Zoom client
meetingConfig.PrePopulateWebinarRegistrationInfo(CurrentMeeting.ZoomClientEmail, CurrentMeeting.ZoomClientUserName);
meetingConfig.DisableShowJoinMeetingWnd(true);
meetingConfig.EnableAutoHideJoinAudioDialog(true);
break;