# Accessing the Video and Audio in real time using a web application

**URL:** <https://devforum.zoom.us/t/accessing-the-video-and-audio-in-real-time-using-a-web-application/59430>\
**Category:** Web\
**Created:** [October 27, 2021, 7:39am UTC](https://devforum.zoom.us/t/accessing-the-video-and-audio-in-real-time-using-a-web-application/59430 "2021-10-27T07:39:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudarshan.rai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sudarshan.rai/32/18827_2.png) [@sudarshan.rai](https://devforum.zoom.us/u/sudarshan.rai)\
**Post date:** [October 27, 2021, 7:39am UTC](https://devforum.zoom.us/t/accessing-the-video-and-audio-in-real-time-using-a-web-application/59430/1 "2021-10-27T07:39:07Z")

</div>

We are currently developing a web application connects to a Zoom call as a host using API’s / SDK’s which needs video and audio recordings from a Zoom meeting.

1. I have come across JWT/Oauth API’s to get the cloud recordings. My question is whether we can do it using the Web SDK API’s?.

2. Is there any way I can get the real time video and audio bits from the meeting using the API’s?. Also, could you please let me know if there is any workaround to perform the same?

---

<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:** [October 29, 2021, 10:32pm UTC](https://devforum.zoom.us/t/accessing-the-video-and-audio-in-real-time-using-a-web-application/59430/2 "2021-10-29T22:32:08Z")

</div>

Hey @sudarshan.rai,

Thank you for reaching out to the Zoom Developer Forum. If you wish to embed Zoom on your site or app, you will likely want to use a combination of our APIs (for creating and scheduling live meetings) and our Web SDK (for embedding the Zoom Meeting/video experience on your site/app). Details below on each of these.

**API and SDK Overview**  
We offer both APIs and SDKs for you to consider when planning an integration/implementation in an application. You may find the below information helpful for your web developer.

Here are some APIs that you can consider using within your application:  
[Create Meetings](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate): To create a meeting (including instant meetings)  
[List Meetings](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings): To Display the schedule Meetings  
[Retrieve Meeting](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting): To get a specific meeting

Some additional tips:  
Once the meeting is created you can send the “start\_url” to the hosts and “join\_url” to the participants.  
To get a list of past meeting participants, you can use [this endpoint](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/pastmeetingparticipants).  
To display live meetings you can use the [meeting started webhook](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-started).

To get real-time participant events, please use:  
[https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-joined-meeting](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-joined-meeting) and  
[https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-left](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-left)

You can find our webhook meeting events here and a list of all our APIs here.

We also have a Web SDK that you can consider integrating into your website:

> **[Web - Meeting SDKs - Zoom Software Development Kit (Zoom SDK)](https://marketplace.zoom.us/docs/sdk/native-sdks/web)**
>
> Zoom Web SDK
> 
> The Web Meeting SDK enables the development of video applications powered by Zoom's core framework inside an HTML5 web client through a hi...

**Authentication Methods**  
We have two authentication types:

JSON Web Token (JWT):  
JWT is an account-wide app and is available to all the admins and owners of the account. You can have only 1 JWT marketplace app registered in your account. You can generate multiple JWT tokens using the JWT keys, and the tokens operate independently of each other until expired or the credentials have been changed.

A JWT token will contain all the permissions, and there is no way to restrict it. A JWT token is only valid for your account.

To know more, please visit: [https://marketplace.zoom.us/docs/guides/auth/jwt](https://marketplace.zoom.us/docs/guides/auth/jwt)

OAuth 2.0:  
You can use an OAuth App if you want to have limited permissions for your token. To set up access credentials and request scopes for your app, create an OAuth app on the Marketplace. Follow the Create an OAuth App guide for a full walkthrough.  
OAuth2 endpoints are located at [https://zoom.us/oauth/](https://zoom.us/oauth/).

Depending on the App type (Account Level or User Managed), the app needs to be authorized by either the account admin or the user. To know more, please visit: [https://marketplace.zoom.us/docs/guides/build#understanding-app-types](https://marketplace.zoom.us/docs/guides/build#understanding-app-types)

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![sudarshan.rai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sudarshan.rai/32/18827_2.png) [@sudarshan.rai](https://devforum.zoom.us/u/sudarshan.rai)\
**Post date:** [November 1, 2021, 7:39am UTC](https://devforum.zoom.us/t/accessing-the-video-and-audio-in-real-time-using-a-web-application/59430/3 "2021-11-01T07:39:24Z")

</div>

Thanks for replying!.

I want to join a meeting as a participant using meeting\_ID and password using API and record the audio for future processing.

My question is,

1. Is It possible to join a meeting as a participant using WebSDK/
2. Is it there any way I can record t he audio live?

Thanks,  
Sudarshan rai

---

<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:** [November 3, 2021, 10:03pm UTC](https://devforum.zoom.us/t/accessing-the-video-and-audio-in-real-time-using-a-web-application/59430/4 "2021-11-03T22:03:00Z")

</div>

Hey @sudarshan.rai,

> [@sudarshan.rai](#):
>
> - Is It possible to join a meeting as a participant using WebSDK/

Yes, but it would need to be hosted by a user under your Zoom account.

> [@sudarshan.rai](#):
>
> Is it there any way I can record t he audio live?

The best method is to either use our Cloud Recording or to configure a [Custom Live Streaming Service](https://support.zoom.us/hc/en-us/articles/115001777826-Live-streaming-meetings-or-webinars-using-a-custom-service)

I hope that helps! Let me know if you have any questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![sudarshan.rai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sudarshan.rai/32/18827_2.png) [@sudarshan.rai](https://devforum.zoom.us/u/sudarshan.rai)\
**Post date:** [November 8, 2021, 1:42pm UTC](https://devforum.zoom.us/t/accessing-the-video-and-audio-in-real-time-using-a-web-application/59430/5 "2021-11-08T13:42:08Z")

</div>

Hi!! Thanks for responding!!.

I have downloaded the ‘sample-web-app’ from zoom and joined a meeting.

Now, I am trying to capture audio and video contents from the HTML DOM elements.  
I have tried capturing video successfully from the canvas with id “speak-view-video”.  
But , I am not able to capture the audio. I have seen couple of “video” tags in the HTML using which I will be trying to capture the audio.  
Need help identifying functionalities of these tags.

1. `<video class="sharer-client-sharing-canvas-container__source-canvas" id="sharer-client-sharing-canvas">`
2. `<video id="sharer-client-sharing-video" playsinline="true" style="display: none;">`

Preformatted text

---

<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:** [November 13, 2021, 12:14am UTC](https://devforum.zoom.us/t/accessing-the-video-and-audio-in-real-time-using-a-web-application/59430/6 "2021-11-13T00:14:21Z")

</div>

Hey @sudarshan.rai,

Unfortunately, capturing audio and video is not supported by the [Web SDK](https://marketplace.zoom.us/docs/sdk/native-sdks/web#zoom-web-sdk). If you wanted access to raw audio and video data, you can use the [Video SDK](https://marketplace.zoom.us/docs/sdk/custom/introduction) but this doesn’t provide built-in features like meetings, or cloud recording.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![sudarshan.rai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sudarshan.rai/32/18827_2.png) [@sudarshan.rai](https://devforum.zoom.us/u/sudarshan.rai)\
**Post date:** [November 15, 2021, 11:08am UTC](https://devforum.zoom.us/t/accessing-the-video-and-audio-in-real-time-using-a-web-application/59430/7 "2021-11-15T11:08:08Z")

</div>

Hey Max!,  
What do you mean by “this doesn’t provide built-in features like meetings” ?.  
It doesn’t allow the user to join an ongoing meeting using the Video SDK?.  
If yes, how could I access the raw media output?

---

<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:** [November 17, 2021, 10:56pm UTC](https://devforum.zoom.us/t/accessing-the-video-and-audio-in-real-time-using-a-web-application/59430/8 "2021-11-17T22:56:01Z")

</div>

Hey @sudarshan.rai,

What I mean is that the Video SDK is a lower-level SDK that mostly just provides the functionality to host a video session but doesn’t interact with Zoom Meetings or the Zoom desktop app.

When it comes to Zoom Meetings, we don’t currently have a method to obtain raw data.

Thanks,  
Max

---

<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:** [December 18, 2021, 8:56am UTC](https://devforum.zoom.us/t/accessing-the-video-and-audio-in-real-time-using-a-web-application/59430/9 "2021-12-18T08:56:41Z")

</div>

Closed on December 18, 2021, 8:56am UTC

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