# @zoom/rtms SDK: onVideoData is not called

**URL:** <https://devforum.zoom.us/t/zoom-rtms-sdk-onvideodata-is-not-called/131519>\
**Category:** Realtime Media Streams\
**Created:** [April 15, 2025, 5:54pm UTC](https://devforum.zoom.us/t/zoom-rtms-sdk-onvideodata-is-not-called/131519 "2025-04-15T17:54:07Z")\
**Posts on this page:** 5\
**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 15, 2025, 5:54pm UTC](https://devforum.zoom.us/t/zoom-rtms-sdk-onvideodata-is-not-called/131519/1 "2025-04-15T17:54:07Z")

</div>

`onAudioData` is called but `onVideoData` is not called in the following code:

```auto
import rtms from "@zoom/rtms";

rtms.onWebhookEvent(({event, payload}) => {
    console.log(event, payload)
 
    if (event !== "meeting.rtms_started") 
        return

    const client = new rtms.Client()
    
    client.onAudioData((data, timestamp, metadata) => {
        console.log("onAudioData")
    });

    client.onVideoData((data, timestamp, metadata) => {
        console.log("onVideoData")
    });

    client.join(payload)
});

```

Why is my `onVideoData` not working?

---

<div class="post-metadata">

**Author:** ![noah.duncan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/noah.duncan/32/51124_2.png) [@noah.duncan](https://devforum.zoom.us/u/noah.duncan)\
**Post date:** [May 4, 2025, 11:39pm UTC](https://devforum.zoom.us/t/zoom-rtms-sdk-onvideodata-is-not-called/131519/2 "2025-05-04T23:39:50Z")

</div>

Did you install your zoom app with this scope enabled?

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/optimized/3X/a/b/ab0a21f4ad1b26dc3063ac6143757251f6ff9045_2_690x55.png)

---

<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 5, 2025, 1:59pm UTC](https://devforum.zoom.us/t/zoom-rtms-sdk-onvideodata-is-not-called/131519/3 "2025-05-05T13:59:23Z")

</div>

Yes. The meeting-related scopes are listed in the attached screenshot:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/6/f6cc848eb619632406a342d38a7dde12e1b4e910.png)

---

<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:19pm UTC](https://devforum.zoom.us/t/zoom-rtms-sdk-onvideodata-is-not-called/131519/4 "2025-07-21T16:19:48Z")

</div>

Thanks for bringing this up! This has since been resolved. Feel free to submit issues to the GitHub repo as well: [GitHub · Where software is built](https://github.com/zoom/rtms/issues)

---

<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:19pm UTC](https://devforum.zoom.us/t/zoom-rtms-sdk-onvideodata-is-not-called/131519/5 "2025-07-21T16:19:53Z")

</div>

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


