# Video handling in rtms-samples

**URL:** <https://devforum.zoom.us/t/video-handling-in-rtms-samples/132045>\
**Category:** Realtime Media Streams\
**Created:** [April 28, 2025, 1:32pm UTC](https://devforum.zoom.us/t/video-handling-in-rtms-samples/132045 "2025-04-28T13:32:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![xgantan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xgantan/32/66215_2.png) [@xgantan](https://devforum.zoom.us/u/xgantan)\
**Post date:** [April 28, 2025, 1:32pm UTC](https://devforum.zoom.us/t/video-handling-in-rtms-samples/132045/1 "2025-04-28T13:32:42Z")

</div>

When will we get some sample code to show how to handle the video streams in [https://github.com/zoom/rtms-samples](https://github.com/zoom/rtms-samples)?

Thanks.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [May 9, 2025, 3:32am UTC](https://devforum.zoom.us/t/video-handling-in-rtms-samples/132045/2 "2025-05-09T03:32:21Z")

</div>

@xgantan added some video samples in the repo. Any feedback greatly appreciated. Do tag me if you need help on these samples

---

<div class="post-metadata">

**Author:** ![xgantan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xgantan/32/66215_2.png) [@xgantan](https://devforum.zoom.us/u/xgantan)\
**Post date:** [May 15, 2025, 6:43pm UTC](https://devforum.zoom.us/t/video-handling-in-rtms-samples/132045/3 "2025-05-15T18:43:59Z")

</div>

@chunsiong.zoom Thank you. Is it expected that a zoom call, where no participants enabled camera nor screenshare for the entire call, does not send any video frames to the `if (msg.msg_type === 15)` code block?

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [May 19, 2025, 6:52am UTC](https://devforum.zoom.us/t/video-handling-in-rtms-samples/132045/4 "2025-05-19T06:52:38Z")

</div>

@xgantan that is the correct assumption. when someone turns off their video, it also stop sending video frames until the person resumes their video.

---

<div class="post-metadata">

**Author:** ![xgantan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xgantan/32/66215_2.png) [@xgantan](https://devforum.zoom.us/u/xgantan)\
**Post date:** [May 20, 2025, 6:32pm UTC](https://devforum.zoom.us/t/video-handling-in-rtms-samples/132045/5 "2025-05-20T18:32:55Z")

</div>

Thank you for the clarification. I’m wondering if the VIDEO\_MIXED\_SPEAKER\_VIEW and VIDEO\_MIXED\_GALLARY\_VIEW are working for MEDIA\_DATA\_OPTION? The gallary view is especially useful to us since it provides a comprehensive video capture of the entire meeting.

---

<div class="post-metadata">

**Author:** ![xgantan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xgantan/32/66215_2.png) [@xgantan](https://devforum.zoom.us/u/xgantan)\
**Post date:** [May 27, 2025, 2:11pm UTC](https://devforum.zoom.us/t/video-handling-in-rtms-samples/132045/6 "2025-05-27T14:11:48Z")

</div>

Any update on this question? Thank you.

---

<div class="post-metadata">

**Author:** ![xgantan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xgantan/32/66215_2.png) [@xgantan](https://devforum.zoom.us/u/xgantan)\
**Post date:** [June 5, 2025, 3:00pm UTC](https://devforum.zoom.us/t/video-handling-in-rtms-samples/132045/7 "2025-06-05T15:00:53Z")

</div>

Any update? Thank you.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [June 30, 2025, 6:07am UTC](https://devforum.zoom.us/t/video-handling-in-rtms-samples/132045/8 "2025-06-30T06:07:52Z")

</div>

> [@xgantan](#):
>
> VIDEO\_MIXED\_SPEAKER\_VIEW

@xgantan please tag me in your response.

Currently the at point of writing, only Video Single Active Stream (type 3) is supported.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [July 21, 2025, 4:17pm UTC](https://devforum.zoom.us/t/video-handling-in-rtms-samples/132045/9 "2025-07-21T16:17:39Z")

</div>

Closed on July 21, 2025, 4:17pm UTC


