# How to retrieve the raw stream or recording

**URL:** <https://devforum.zoom.us/t/how-to-retrieve-the-raw-stream-or-recording/49964>\
**Category:** Web\
**Created:** [May 10, 2021, 4:43pm UTC](https://devforum.zoom.us/t/how-to-retrieve-the-raw-stream-or-recording/49964 "2021-05-10T16:43:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcabot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tcabot/32/26036_2.png) [@tcabot](https://devforum.zoom.us/u/tcabot)\
**Post date:** [May 10, 2021, 4:43pm UTC](https://devforum.zoom.us/t/how-to-retrieve-the-raw-stream-or-recording/49964/1 "2021-05-10T16:43:44Z")

</div>

**Description**  
I didn’t found an api which exposes the raw stream… or a way to record the stream without using browser api `canvas.caputureStream` mentioned [here](https://devforum.zoom.us/t/record-a-session/48988/2).

Does this mean the only way it through client side and using the web browser api? Is there any play to support it through the api with different stream/channels?  
Thanks!

**Which Web Video SDK version?**  
1.0.2

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 12, 2021, 7:57pm UTC](https://devforum.zoom.us/t/how-to-retrieve-the-raw-stream-or-recording/49964/2 "2021-05-12T19:57:06Z")

</div>

Hey @tcabot , thanks for posting and using Zoom! 🙂

Any recording will need to be implemented on your end.

Here is how you can manage [video](https://marketplace.zoom.us/docs/sdk/video/web/essential/video) / [audio](https://marketplace.zoom.us/docs/sdk/video/web/essential/audio) streams.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tcabot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tcabot/32/26036_2.png) [@tcabot](https://devforum.zoom.us/u/tcabot)\
**Post date:** [May 13, 2021, 9:39am UTC](https://devforum.zoom.us/t/how-to-retrieve-the-raw-stream-or-recording/49964/3 "2021-05-13T09:39:50Z")

</div>

hey @tommy , thanks for answering me!  
What do you mean by my end? Do you mean that I need to record them in the client side of each participant in the session?  
And how do I retrieve the raw stream for that methods that you posted there?

Thanks!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 14, 2021, 4:02pm UTC](https://devforum.zoom.us/t/how-to-retrieve-the-raw-stream-or-recording/49964/4 "2021-05-14T16:02:53Z")

</div>

Hey @tcabot ,

> [@tcabot](#):
>
> Do you mean that I need to record them in the client side of each participant in the session?

That is correct. The Video SDK just offers video and audio streaming, and does not have a recording feature. This is something we can consider adding in the future, but for now, you will need to implement recording on your end. Example:

> [@Record a session](https://devforum.zoom.us/t/record-a-session/48988/2):
>
> I’m not seeing recording or raw stream capture available on the Web Video SDK. There are methods for it on the mobile and desktop SDKs, though. One option you could use is to capture the canvas that you are drawing the videos on using [HTMLCanvasElement.captureStream()](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/captureStream). You’ll have to manage all of the recording logic yourself, though.

> [@tcabot](#):
>
> And how do I retrieve the raw stream for that methods that you posted there?

You can grab the stream with the `stream.startVideo();` function, example: [https://marketplace.zoom.us/docs/sdk/video/web/essential/video#capture-video](https://marketplace.zoom.us/docs/sdk/video/web/essential/video#capture-video)

Is that what you are looking for? Perhaps you can share your use case so I can offer a better solution. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tcabot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tcabot/32/26036_2.png) [@tcabot](https://devforum.zoom.us/u/tcabot)\
**Post date:** [May 18, 2021, 10:19am UTC](https://devforum.zoom.us/t/how-to-retrieve-the-raw-stream-or-recording/49964/5 "2021-05-18T10:19:55Z")

</div>

hey, thanks @tommy. I was looking for the rawr media stream, I see the `captureVideo()` and `renderVideo()` are kinda “magic” to me… they just render the stream into a canvas but what I want is the buffer/rawr stream of each participant to recorded, at least, in the client side…

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 19, 2021, 7:20pm UTC](https://devforum.zoom.us/t/how-to-retrieve-the-raw-stream-or-recording/49964/6 "2021-05-19T19:20:06Z")

</div>

Gotcha @tcabot. We currently do not offer the buffer/rawr stream of each participant.

What is your use case for needing this so that we can consider adding this feature?

Thanks,  
Tommy

---

<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:** [June 19, 2021, 5:20am UTC](https://devforum.zoom.us/t/how-to-retrieve-the-raw-stream-or-recording/49964/7 "2021-06-19T05:20:26Z")

</div>

Closed on June 19, 2021, 5:20am UTC

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

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 29, 2021, 6:06pm UTC](https://devforum.zoom.us/t/how-to-retrieve-the-raw-stream-or-recording/49964/8 "2021-06-29T18:06:29Z")

</div>

Hey @tcabot ,

I wanted to share this article on how you can record an HTML Canvas. This approach could be used to record a Video SDK Session:

> **[How to record a canvas element](https://medium.com/@amatewasu/how-to-record-a-canvas-element-d4d0826d3591)**
>
> This is a really short tutorial in order to show you how to record a canvas element properly

Thanks,  
Tommy
