# Raw media streams via Meeting SDK for web

**URL:** <https://devforum.zoom.us/t/raw-media-streams-via-meeting-sdk-for-web/93394>\
**Category:** Web\
**Created:** [August 15, 2023, 6:59am UTC](https://devforum.zoom.us/t/raw-media-streams-via-meeting-sdk-for-web/93394 "2023-08-15T06:59:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gibron](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gibron/32/37298_2.png) [@gibron](https://devforum.zoom.us/u/gibron)\
**Post date:** [August 15, 2023, 6:59am UTC](https://devforum.zoom.us/t/raw-media-streams-via-meeting-sdk-for-web/93394/1 "2023-08-15T06:59:06Z")

</div>

Is it possible to access raw media streams via the Zoom Meeting SDK for web?

The documentation about [accessing media streams](https://developers.zoom.us/docs/zoom-apps/guides/meeting-bots-sdk-media-streams/), states that a bot “initiates raw recording using `StartRawRecording` or `StartLiveStreamWithSteamingURL` (Meeting SDK for Windows), or `mediaCapture` (Meeting SDK for web)”.  
Then it states “The bot obtains [raw audio and/or video data](https://developers.zoom.us/docs/meeting-sdk/windows/raw-data/) and does the required processing.”

This is confusing, as it indicates one can obtain raw audio using the Meeting SDK for web but it links to instructions oriented towards Windows.

---

<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:** [August 15, 2023, 7:57am UTC](https://devforum.zoom.us/t/raw-media-streams-via-meeting-sdk-for-web/93394/2 "2023-08-15T07:57:45Z")

</div>

@gibron ,

There is no build in functionality in Zoom Meeting SDK for Web to access raw media stream.

`Initial raw recording` is a step which is done prior to actual recording, this would enable the prompt “this meeting is being recorded” to users.

The `mediacapture` in Meeting SDK for web is to enable the prompt. This `mediacapture` is to ensure developers who are using other ways of recording using Meeting SDK for web, can complies with privacy regulations.

---

<div class="post-metadata">

**Author:** ![gibron](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gibron/32/37298_2.png) [@gibron](https://devforum.zoom.us/u/gibron)\
**Post date:** [August 15, 2023, 6:58pm UTC](https://devforum.zoom.us/t/raw-media-streams-via-meeting-sdk-for-web/93394/3 "2023-08-15T18:58:16Z")

</div>

@chunsiong.zoom If the Zoom Meeting SDK for Web does not currently support accessing media streams, then the documentation page is written in an extremely misleading way: [Meeting Bots Accessing Media Streams](https://developers.zoom.us/docs/zoom-apps/guides/meeting-bots-sdk-media-streams/).

It is titled “Accessing Media Streams” and is filled with examples and implications about the Zoom Meeting SDK for Web.

I cannot imagine we are the first team to arrive that this should be possible based on the docs.

---

<div class="post-metadata">

**Author:** ![amanda-recallai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amanda-recallai/32/44747_2.png) [@amanda-recallai](https://devforum.zoom.us/u/amanda-recallai)\
**Post date:** [August 15, 2023, 8:29pm UTC](https://devforum.zoom.us/t/raw-media-streams-via-meeting-sdk-for-web/93394/4 "2023-08-15T20:29:56Z")

</div>

Hey @gibron , although the Zoom Meeting SDK doesn’t support accessing media streams, you can use the Zoom Windows SDK or the very newly released Zoom Linux SDK 🙂

If you are using the Zoom Windows or Linux SDK, here are the steps on how to build a meeting bot:

1. Spin up a server. We recommend AWS, GCP, or Digital Ocean.
2. Use either the Windows or Linux Zoom SDK to launch an instance of the Zoom client.
3. Once you have the Zoom SDK launched, and use the Raw Data functionality to extract the video and audio streams.
4. This will return the video in I420 raw frames and audio in PCM 16LE raw format, so you’ll need to encode the audio and video yourself afterwards.
5. Once you have one instance of this working, you’ll need to scale this across several servers if you want to run multiple bots simultaneously, which is required to have bots for multiple meetings.

Finally, another option is [Recall.ai](https://www.recall.ai). It’s a simple 3rd party API that lets you use meeting bots to get raw audio/video from meetings without you needing to spend months to build, scale and maintain these bots.

Let me know if you have any questions!

---

<div class="post-metadata">

**Author:** ![gibron](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gibron/32/37298_2.png) [@gibron](https://devforum.zoom.us/u/gibron)\
**Post date:** [September 6, 2023, 5:03am UTC](https://devforum.zoom.us/t/raw-media-streams-via-meeting-sdk-for-web/93394/5 "2023-09-06T05:03:03Z")

</div>

Thanks Amanda. We ended up rolling our own windows server to test out the Windows SDK.

Did you (or anyone else reading this reply) ever overcome the obstacles identified here: [Not receiving audio on `AudioRawData` interface if the SDK doesn't detect a microphone or an audio device on the OS](https://devforum.zoom.us/t/not-receiving-audio-on-audiorawdata-interface-if-the-sdk-doesnt-detect-a-microphone-or-an-audio-device-on-the-os/69889)?

Thanks for tip re: Linux SDK, will have to look at that as well; I see it is in beta now.

---

<div class="post-metadata">

**Author:** ![loretta](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/loretta/32/52174_2.png) [@loretta](https://devforum.zoom.us/u/loretta)\
**Post date:** [September 19, 2023, 4:00am UTC](https://devforum.zoom.us/t/raw-media-streams-via-meeting-sdk-for-web/93394/6 "2023-09-19T04:00:05Z")

</div>

can you provide a (full working) example and/or elaborate on what “… and use the Raw Data functionality” means & entails, exactly? THANK YOU!!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 19, 2023, 2:00pm UTC](https://devforum.zoom.us/t/raw-media-streams-via-meeting-sdk-for-web/93394/7 "2023-10-19T14:00:35Z")

</div>

Closed on October 19, 2023, 2:00pm UTC

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