# Getting raw video frames of several participants

**URL:** <https://devforum.zoom.us/t/getting-raw-video-frames-of-several-participants/64236>\
**Category:** Windows\
**Created:** [February 12, 2022, 10:18pm UTC](https://devforum.zoom.us/t/getting-raw-video-frames-of-several-participants/64236 "2022-02-12T22:18:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruslikc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ruslikc/32/23131_2.png) [@ruslikc](https://devforum.zoom.us/u/ruslikc)\
**Post date:** [February 12, 2022, 10:18pm UTC](https://devforum.zoom.us/t/getting-raw-video-frames-of-several-participants/64236/1 "2022-02-12T22:18:56Z")

</div>

Hello!  
[https://marketplace.zoom.us/docs/sdk/native-sdks/windows/raw-data/](https://marketplace.zoom.us/docs/sdk/native-sdks/windows/raw-data/)  
This article describe how create callback when raw video frame receive/ As I understand, I should implement IZoomSDKRendererDelegate and create instance of it. But still not enough information for me. Should I create implement IZoomSDKRenderer interface?  
Do I understand correctly that this interface stores the delegates of the participants and calls the callback for each separately? What should the subscribe method do? Are there any examples of raw video recording, or a more precise algorithm that I can follow? Can I modify the demo that comes with the SDK for rapid prototyping?  
Thanks!

Windows Meeting SDK version: v5.9.1.2625

\*\*Device:

- Device: desktop
- OS: Windows 10

---

<div class="post-metadata">

**Author:** ![ruslikc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ruslikc/32/23131_2.png) [@ruslikc](https://devforum.zoom.us/u/ruslikc)\
**Post date:** [February 13, 2022, 3:42pm UTC](https://devforum.zoom.us/t/getting-raw-video-frames-of-several-participants/64236/2 "2022-02-13T15:42:46Z")

</div>

I read the guide again and now I think is not necessary to implement the interface, because it is implemented in the SDK by calling createRenderer(). And I need to create a pointer to the IZoomSDKRenderer and pass the pointer to it into this function. Did I get it right?  
But I’m still not clear how callbacks work: one callback is called for all participants? Then how to separate streams of video? Should I use getUserId() of IZoomSDKRenderer?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 22, 2022, 8:54pm UTC](https://devforum.zoom.us/t/getting-raw-video-frames-of-several-participants/64236/3 "2022-02-22T20:54:33Z")

</div>

Hi @ruslikc, thanks for using the dev forum.

In order to receive the raw video data for a user, you would need to get the frames through the [`onRawDataFrameReceived`](https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_zoom_s_d_k_renderer_delegate.html#afcb01e2507be6ce4ec11d87578181cc3) callback. When you subscribe to a specific user’s raw data, this callback will be invoked each time a new frame is received.

Thanks!

---

<div class="post-metadata">

**Author:** ![ruslikc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ruslikc/32/23131_2.png) [@ruslikc](https://devforum.zoom.us/u/ruslikc)\
**Post date:** [March 4, 2022, 3:37pm UTC](https://devforum.zoom.us/t/getting-raw-video-frames-of-several-participants/64236/4 "2022-03-04T15:37:55Z")

</div>

Hello! Thanks for respond!

Can you explain me algorythm for start subscribing video of all participants? Information in documentation poor for me.  
Now my rpogram subscribes to only one participant, when meeting has more 2 participants. And i do not understand why.  
Thanks!

---

<div class="post-metadata">

**Author:** ![ruslikc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ruslikc/32/23131_2.png) [@ruslikc](https://devforum.zoom.us/u/ruslikc)\
**Post date:** [March 4, 2022, 10:38pm UTC](https://devforum.zoom.us/t/getting-raw-video-frames-of-several-participants/64236/5 "2022-03-04T22:38:19Z")

</div>

I forgot that I only subscribed to one id (the subscribe method of the renderer class). I then looped through all the IDs and subscribed to them using the same renderer instance. And I also found that when I subscribe to a new one, I unsubscribe from the previous one. Thus, each participant needs to initialize their own renderer. I did it and it works!  
Perhaps it is worth considering these nuances in the documentation …  
Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [March 7, 2022, 5:59pm UTC](https://devforum.zoom.us/t/getting-raw-video-frames-of-several-participants/64236/6 "2022-03-07T17:59:10Z")

</div>

Glad to hear you were able to resolve this!

We absolutely understand that the current state of our Meeting SDK documentation is not great and are working on creating more comprehensive documentation in the future. If you run into anything else that is unclear, we’re always here to help. 🙂

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [March 7, 2022, 5:59pm UTC](https://devforum.zoom.us/t/getting-raw-video-frames-of-several-participants/64236/7 "2022-03-07T17:59:15Z")

</div>

Closed on March 7, 2022, 5:59pm UTC


