# setUserMediaAudio and setUserMediaVideo not documented

**URL:** <https://devforum.zoom.us/t/setusermediaaudio-and-setusermediavideo-not-documented/72714>\
**Category:** Zoom Apps\
**Created:** [July 22, 2022, 3:41pm UTC](https://devforum.zoom.us/t/setusermediaaudio-and-setusermediavideo-not-documented/72714 "2022-07-22T15:41:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathan.crockett](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jonathan.crockett/32/37712_2.png) [@jonathan.crockett](https://devforum.zoom.us/u/jonathan.crockett)\
**Post date:** [July 22, 2022, 3:41pm UTC](https://devforum.zoom.us/t/setusermediaaudio-and-setusermediavideo-not-documented/72714/1 "2022-07-22T15:41:01Z")

</div>

The documentation for these functions is missing from the Zoom Apps SDK reference. Can you please advise how to use these functions? Thanks!

> **[Zoom Apps JS SDK reference](https://marketplace.zoom.us/docs/zoom-apps/js-sdk/reference/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

---

<div class="post-metadata">

**Author:** ![narmadaravali](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/narmadaravali/32/39496_2.png) [@narmadaravali](https://devforum.zoom.us/u/narmadaravali)\
**Post date:** [July 22, 2022, 8:02pm UTC](https://devforum.zoom.us/t/setusermediaaudio-and-setusermediavideo-not-documented/72714/2 "2022-07-22T20:02:59Z")

</div>

Did you see these APIs part of marketplace build flow? Yes, these are not part of the SDK because there is still some working going on. We will add them to documentation as we update Apps SDK with these new APIs. Sorry for the confusion.

---

<div class="post-metadata">

**Author:** ![jonathan.crockett](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jonathan.crockett/32/37712_2.png) [@jonathan.crockett](https://devforum.zoom.us/u/jonathan.crockett)\
**Post date:** [July 25, 2022, 2:03pm UTC](https://devforum.zoom.us/t/setusermediaaudio-and-setusermediavideo-not-documented/72714/3 "2022-07-25T14:03:20Z")

</div>

Thanks for the info @narmadaravali.

A warning is returned in the console when I call toggleParticipantMediaAudio() on the current participant in meeting (myself) recommends to use setUserMediaAudio function for this purpose.

setUserMediaAudio and setUserMediaVideo are also api permissions listed in the marketplace app under the Features \> Zoom App SDK.

I have a couple suggestions.  
Update `toggleParticipantMediaAudio()` to apply all participants including the user calling the function (self). Since the user calling the function is also a participant this would be what one would expect from this function. This will make the code doing these functions simpler because currently I will have to check to see if the user is the current one and do a conditional.

In the Zoom App SDK API method toggle screen:  
Add a note next to functions/events that are not yet implemented with some note indicating that it is a canary feature. This will help inform developers from trying to use functions that are not yet available.

---

<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:** [August 11, 2022, 6:21pm UTC](https://devforum.zoom.us/t/setusermediaaudio-and-setusermediavideo-not-documented/72714/4 "2022-08-11T18:21:20Z")

</div>

Thanks for your feedback on this!

---

<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:** [August 11, 2022, 6:21pm UTC](https://devforum.zoom.us/t/setusermediaaudio-and-setusermediavideo-not-documented/72714/5 "2022-08-11T18:21:29Z")

</div>

Closed on August 11, 2022, 6:21pm UTC


