A strange problem happens in a windows x64 application that starts a meeting with desktop sharing always enabled.
With the latest windows meeting sdk versions, when sharing the desktop automatically at the beginning of the meeting (by setting the isDirectShareDesktop property in the StartParam4WithoutLogin structure to true) the meeting starts with no error but it immediately closes.
All the sdk calls made by the application return with no errors, the meeting starts as usual but it immediately terminates.
The meeting status becomes MEETING_STATUS_INMEETING as it should but then it becomes MEETING_STATUS_DISCONNECTING in less than 2 seconds without any user intervention.
The meeting is started using sdk user type SDK_UT_WITHOUT_LOGIN together with zoom user type ZoomUserType_APIUSER and specifying a ZAK token obtained through the web api.
When starting a meeting without desktop sharing (isDirectShareDesktop false) there aren’t any problems, everything works.
The versions that have been tested and have the problem are Windows Meeting SDK version v5.17.11.34885 and the latest v6.2.3.47557
Windows Meeting SDK v5.17.5.31085 works with no problems.
The operating system is Windows 10 Pro 22H2 19045.5011
The sdk demo application does not support the direct share to desktop feature (isDirectShareDesktop always false) so it is not possible to do any testing with it.
The following is an extract from the log of the application, the 20 seconds sleeps are added on purpose to allow easier debugging and during the second one at 13:54:48 the sdk is showing the “Select a window or an application that you want to share” window but at the end of the sleep it closes automaticlly without any user intervention.
24/10/2024 13:54:20 authenticating sdk at 24/10/2024 13:54:20
onProxyDetectComplete called
onAuthenticationReturn called 0
24/10/2024 13:54:23 authenticated 0
onLoginReturnWithReason called
24/10/2024 13:54:23 sdk login
24/10/2024 13:54:23 sdk start meeting
24/10/2024 13:54:24 sharing screen
24/10/2024 13:54:24 IMeetingService::Start ok
24/10/2024 13:54:24 sleeping 20 seconds
24/10/2024 13:54:44 sleep done
onMeetingStatusChanged called 1 0
24/10/2024 13:54:44 meeting status changed to MEETING_STATUS_CONNECTING
onMeetingParameterNotification called 1 87645293438
onAllowParticipantsRenameNotification called
onAllowParticipantsUnmuteSelfNotification called
onAllowParticipantsRenameNotification called
onAllowParticipantsUnmuteSelfNotification called
onAllowParticipantsShareWhiteBoardNotification called
onUserJoin called
onCoHostChangeNotification called
onMeetingStatusChanged called 3 0
24/10/2024 13:54:47 meeting status changed to MEETING_STATUS_INMEETING
24/10/2024 13:54:47 meeting started 0
onHostChangeNotification called
onSharingStatus called
24/10/2024 13:54:48 sharing status 0 user id 16778240
onSharingStatus called
24/10/2024 13:54:48 sharing status 1 user id 16778240
onMeetingStatusChanged called 4 0
24/10/2024 13:54:48 meeting status changed to MEETING_STATUS_DISCONNECTING
24/10/2024 13:54:48 sleeping 20 seconds
24/10/2024 13:55:08 sleep done
24/10/2024 13:55:08 connected message
onMeetingStatusChanged called 7 0
24/10/2024 13:55:09 meeting status changed to MEETING_STATUS_ENDED