Meeting SDK Type and Version
Linux Meeting SDK 6.0.12 (5551)
Description
Using the sample app made by @chunsiong.zoom as a starting point, I’ve implemented the sharing screen feature. When the app starts and joins the meeting (it has a ZAK token), it shares its “screen” which is just a sample video I gave it. If I join the meeting with my zoom desktop client, I can see that the app is correctly sharing its “screen”. However, if another app instance joins the meeting and records it, the shared screen doesn’t show up in the recording.
Before joining the meeting, the app instance recording the shared screen does the following:
SDKError err = m_pSettingService->GetRecordingSettings()->EnablePlaceVideoNextToShareInRecord(true);
The app instance that is sharing its screen (as host) does the following:
// First do this
ZoomSDKScreenShareSource* video_source = new ZoomSDKScreenShareSource(DEFAULT_VIDEO_SOURCE);
ZoomSDKScreenShareAudioSource* audio_source = new ZoomSDKScreenShareAudioSource(DEFAULT_AUDIO_SOURCE);
IZoomSDKShareSourceHelper* shareHelper = GetRawdataShareSourceHelper();
shareHelper->setExternalShareSource(video_source, audio_source);
-----
// Then do this to "start" screen share
m_pMeetingService->GetMeetingShareController()->ResumeCurrentSharing()
Error?
There is no error, namely the SDKError err
above is SDKERR_SUCCESS
. Although I didn’t include it, the calls above are also successful (which is obvious since I see the shared screen with my desktop client).
Troubleshooting Routes
I’ve tried searching for a configuration/setting step that I missed but I haven’t found anything.
How To Reproduce
Do the code I wrote above. It does require implementing ZoomSDKScreenShareSource
and ZoomSDKScreenShareAudioSource
but they are basically the same as ZoomSDKVideoSource
and ZoomSDKVirtualAudioMicEvent
but with different names.