@chunsiong.zoom I am trying to enable raw audio and video access in windows sdk and we are getting linker error . I am referring your code in repo., have followed exact procedure in readme ,
I might have done some silly mistake. I am new to c++ Sdk. Please help me to resolve.
Device (please complete the following information):
At first I tried to run on debug and got below error
Error C1083 Cannot open include file: 'UIlib.h': No such file or directory sdk_demo_v2 D:\zoom-sdk-windows-5.15.7.20385\zoom-sdk-windows-5.15.7.20385\x86\demo\sdk_demo_v2\stdafx.h
then I run changing to release and getting linker error.
Also I am using visual studio 2019, Platform tool v142, windows sdk version 10.0.
I don’t know does this makes difference.
@chunsiong.zoom Thanks. The code is working fine. I reinstalled the visual studio
But when I joined the meeting ( run in custom UI mode) and start local recording taking permission from host, At the end of the meeting I can see only local recording (mp4). I couldn’t see either raw data output.yuv or audio.pcm.
That response is from a bot, and is not accurate. I have deleted the reply to prevent future confusion.
You do not need a license to access raw data.
I would recommend you to pull the sample code again, as there are updates to the code.
You will need to comment out the part where it is doing local recording to an mp4 file.
@chunsiong.zoom Appreciate your help and support . We are able to execute code and getting output.yuv and audio.pcm .
Since I am not so familiar with C++, have few queries .
The raw data we receive has only the video and audio of host, even though camera and mic of other participant is on .
Also we are not able to view all participant video in sdk even after changing gallery view.
Please help us to identify and understand the function we need to check to find the video render of each participant and corresponding data in raw recording
Please refer to the docs.
When subscribing to raw audio, you can subscribe to individual audio or mixed audio stream
When subscribing to raw video, you need to specify each individual’s ID
int returnvalue = m_pParticipantsController->GetParticipantsList()->GetItem(i);
videoRenderer->setRawDataResolution(ZoomSDKResolution_1080P);
//subscribe to the user's raw video by their userID
videoRenderer->subscribe(returnvalue, RAW_DATA_TYPE_VIDEO);
//this will trigger callbacks in onRawDataFrameReceived(... ...) within RawVideoDelegate.cpp
}
}
and we try to write data to different file names with below code
int participantId = data->GetSourceID();
// Create a filename based on the participant’s name.
std::string filename =“output”+ std::to_string(participantId) + “.yuv”;
Still we are unable to have multiple output files . As per our understanding each time we subscribe with different participant id , onRawDataFrameReceived will be trigger with different participant data having unique source ID .
Please help us understanding this. Since we are not able to debug the code without errors.