How can I show video frames of a session on window?

A clear and concise description of what the question is.

Hello, I’m using Windows Fully Customizable SDK. And I want to show video frames of a session on window. I already got success for ‘joinSession’ code. After create the session, I want to show it on the window by using window functions, such as ‘WNDCLASSES’, RegisterClassEx(&wndclass)’, ‘CreateWindow(…)’.

Please let me know about the flow of showing the video frames of the session on window.
Thank you.

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:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. 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 ]

Additional context
Add any other context about the problem here.

Hey @tlol91,

Thanks for using the dev forum!

The SDK will provide the video stream as individual frames. To begin receiving frames for a specific user please follow the steps here:
When you start getting the frames from

onRawDataFrameReceived(YUVRawDataI420* data_)

You will need to render the YUV frames into your desired window handle. We suggest using a rendering library for this, as it can get quite tedious to do this yourself. Microsoft suggests using their library DirectShow


Thanks for your reply. I have one more question. Where do I need to call ‘onRawDataFrameReceived’?
Now, I succeed to call ‘err = pPipe->subscribe(resolution, this)’.

But I don’t know where and how to call ‘onRawDataFrameReceived’. Please let me know. Thank you.

Hey @tlol91,

onRawDataFrameReceived is a callback and will be called for you when a frame is received. You just need to implement the function and set the event to listen for it.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.