# Trying to access the audio stream data using getUsermedia, but it is giving undefined in zoom Apps

**URL:** <https://devforum.zoom.us/t/trying-to-access-the-audio-stream-data-using-getusermedia-but-it-is-giving-undefined-in-zoom-apps/112586>\
**Category:** Zoom Apps\
**Created:** [June 26, 2024, 1:51am UTC](https://devforum.zoom.us/t/trying-to-access-the-audio-stream-data-using-getusermedia-but-it-is-giving-undefined-in-zoom-apps/112586 "2024-06-26T01:51:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![viwinkumar.p20](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viwinkumar.p20/32/60726_2.png) [@viwinkumar.p20](https://devforum.zoom.us/u/viwinkumar.p20)\
**Post date:** [June 26, 2024, 1:51am UTC](https://devforum.zoom.us/t/trying-to-access-the-audio-stream-data-using-getusermedia-but-it-is-giving-undefined-in-zoom-apps/112586/1 "2024-06-26T01:51:59Z")

</div>

We are trying to get access to the user’s audio stream using getUserMedia, to use that data, but we are not able to access it, and we are getting it as Undefined. But, it is crucial for our application to capture the speaker’s real-time audio information. How can I achieve that? Is there any configuration that I can set in Zoom apps sdk configs? Or is there any API that can allow me to capture that real-time audio data of the user, or any other ways?

---

<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:** [June 26, 2024, 6:43am UTC](https://devforum.zoom.us/t/trying-to-access-the-audio-stream-data-using-getusermedia-but-it-is-giving-undefined-in-zoom-apps/112586/2 "2024-06-26T06:43:51Z")

</div>

Hey @viwinkumar.p20 ,

Raw audio/video streams aren’t supported through Zoom Apps, so if you’re looking to access users’ audio streams, you’ll want to explore a different approach. There are a few options here.

### Option 1: Linux/Meeting SDK

The first option is using the [Linux SDK](https://developers.zoom.us/docs/meeting-sdk/linux/) or [Windows SDK](https://developers.zoom.us/docs/meeting-sdk/windows/). We use these ourselves extensively to power our meeting bots and stream raw audio/video.

For this approach we recommend starting with the [Meeting Bot Starter Kit](https://github.com/zoom/meetingbot-recall-sample) or the [headless linux sample](https://github.com/zoom/meetingsdk-headless-linux-sample) for a solid starting point.

### Option 2: RTMP Streaming

You could also livestream to an RTMP endpoint and use the audio from the RTMP streams.

Here’s a great forum post that links to a lot of use cases and examples for this approach: [Livestreaming using RTMP](https://devforum.zoom.us/t/live-streaming-with-rtmp/63328)

### Option 3: Video SDK

Another option is to use Zoom’s Video SDK for this. [Here’s a blog post](https://developers.zoom.us/blog/video-sdk-raw-streaming-linux/) that includes a sample app and has a video walkthrough.

### Option 4: Recall.ai API

Another alternative is to use the [Recall.ai API](https://www.recall.ai/?utm_source=zoom_dev_forum&utm_medium=forum_answer&utm_campaign=trying-to-access-the-audio-stream-data-using-getusermedia&utm_content=Recall.ai_API) for your meeting bots instead. 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!
