A clear and concise description of what the question is.
Hello, I’m Yoonha. I want to trigger ‘onInitialize’ callback.
IZoomInstantSDKSession* pSession = m_pInstantSDK->joinSession(*m_pSessionContext);
returnVal_Subscribe=m_pRenderer->Subscribe(m_pUser, RAW_DATA_TYPE_VIDEO, 0);
I’m able to receive YUV frames by triggering ‘onRawDataFrameReceived’ callback.
So, I want to pass those frames to Zoom encoder by 'sendVideoFrame; method.
At this link(Passing Raw Video/Audio to Zoom Encoder on Windows Fully Customizable SDK - #2 by jon.lieblich), there is an advice as ’ Raw video data can be sent through the [
sendVideoFrame ]method. To access this method, obtain an instance of the
IZoomInstantSDKVideoSender by providing an instance of
IZoomInstantSDKVideoSource in your
ZoomInstantSDKSessionContext and listening for the
onInitialize callback. The
sender parameter is what you are looking for.’.
According to that advice, I declared an instance of
IZoomInstantSDKVideoSource and assign it to ‘m_pSessionContext->externalVideoSource’.
And I succeeded to trigger ‘onInitialize’ callback.
Then, if I call ‘sendVideoFrame’ with YUV frames of onRawDataFrameReceived, will the SDK show YUV frames of the screen(show video of a user joining a session)?
Which Desktop Video SDK version?
Knowing the version can help us to identify your issue faster.
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
- Device: [e.g. Apple MacBook Pro (13-inch, M1)]
- OS: [e.g. macOS Big Sur 11.2.1 ]
Add any other context about the problem here.