Hello,
this is yet another bug report where setting StartParam4WithoutLogin::isDirectShareDesktop to true when starting a meetind using the Windows SDK does not activate the screen sharing immediately but shows the window where the user is required to manually enable it.
This is the window
Happens in the following Windows 32bit sdk versions
v5.12.0.9016
v5.11.4.7235
v5.9.3.3191
under Windows 10
Code snippet to show what i am doing:
ZOOM_SDK_NAMESPACE::IMeetingConfiguration *pConfig;
ZOOM_SDK_NAMESPACE::StartParam4WithoutLogin startMeetingWithoutLoginParam;
ZOOM_SDK_NAMESPACE::StartParam startMeetingParam;
// data->meeting_service is a pointer to IMeetingService
ZOOM_SDK_NAMESPACE::CreateMeetingService(&data->meeting_service);
pConfig = data->meeting_service->GetMeetingConfiguration();
pConfig->EnableAutoEndOtherMeetingWhenStartMeeting(true);
/* set
startMeetingWithoutLoginParam.userZAK
startMeetingWithoutLoginParam.userID
startMeetingWithoutLoginParam.userName
startMeetingWithoutLoginParam.meetingNumber
to the correct values */
startMeetingWithoutLoginParam.vanityID = NULL;
startMeetingWithoutLoginParam.hDirectShareAppWnd = NULL;
startMeetingWithoutLoginParam.customer_key = NULL;
startMeetingWithoutLoginParam.isVideoOff = true;
startMeetingWithoutLoginParam.isDirectShareDesktop = true;
startMeetingWithoutLoginParam.isAudioOff = false;
startMeetingWithoutLoginParam.zoomuserType = ZOOM_SDK_NAMESPACE::ZoomUserType_APIUSER;
startMeetingParam.userType = ZOOM_SDK_NAMESPACE::SDK_UT_WITHOUT_LOGIN;
startMeetingParam.param.withoutloginStart = startMeetingWithoutLoginParam;
data->meeting_service->Start(startMeetingParam);