Meeting SDK Type and Version
zoom-meeting-sdk-linux_x86_64-6.1.1.493
Description
I cloned meetingsdk-headless-linux-sample from github and created an application that allows a bot to record audio and video using the Meeting SDK for Linux.
Then, to capture screen sharing data as well, I added the following line to perform the recording:
err = m_videoHelper->subscribe(uid, RAW_DATA_TYPE_SHARE);
However, I thought that the recorded data might not be valid. When I examined the contents of the data, it looked like this:
% head -c 100 out/meeting-video.yuv | xxd
00000000: dddd dddd dddd dddd dddd dddd dddd dddd ................
00000010: dddd dddd dddd dddd dddd dddd dddd dddd ................
00000020: dddd dddd dddd dddd dddd dddd dddd dddd ................
00000030: dddd dddd dddd dddd dddd dddd dddd dddd ................
00000040: dddd dddd dddd dddd dddd dddd dddd dddd ................
00000050: dddd dddd dddd dddd dddd dddd dddd dddd ................
00000060: dddd dddd ....
When I save the user’s video like this:
err = m_videoHelper->subscribe(uid, RAW_DATA_TYPE_VIDEO);
The data is valid, and I can convert it to mp4 and view the user’s video properly. Is there some additional configuration needed to successfully capture the screen sharing data?
Would you like me to provide any analysis or explanation of this situation?
cc: @chunsiong.zoom