# Module:audio/video not enabled

**URL:** <https://devforum.zoom.us/t/module-audio-video-not-enabled/47579>\
**Category:** Web\
**Tags:** faq\
**Created:** [April 8, 2021, 8:27pm UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579 "2021-04-08T20:27:21Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![treedis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/treedis/32/25135_2.png) [@treedis](https://devforum.zoom.us/u/treedis)\
**Post date:** [April 8, 2021, 8:27pm UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/1 "2021-04-08T20:27:21Z")

</div>

My integration works perfectly on Desktop (Mac/PC) and Android. But on iOS devices, I get randomly Module:audio or Module:video not enabled error when I try to use `stream.startAudio()` or `stream.startVideo()`.

When I use `stream.getCameraList()` I get an empty array.

When I call `client.getMediaStream();` I can see in my log:  
`TypeError: a.addStream is not a function. (In 'a.addStream(h)', 'a.addStream' is undefined) — js_media.min.js:1:18795 (js_media.min.js, line 1)`

I do have permissions enabled, and I tried from different browsers and devices.

I call those functions on the main thread when the user clicks the “join” button. Can’t understand why it would throw those errors. Sometimes the video does ask for camera, but the audio seems to fail every time. Again - only on iOS.

---

<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:** [April 9, 2021, 9:22pm UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/2 "2021-04-09T21:22:29Z")

</div>

Hey @treedis ,

Can you please provide steps to reproduce the issue so we can test on our end? Also, what iOS device are you using, and what iOS version?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![treedis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/treedis/32/25135_2.png) [@treedis](https://devforum.zoom.us/u/treedis)\
**Post date:** [April 12, 2021, 8:17am UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/3 "2021-04-12T08:17:19Z")

</div>

It happens on any iOS device. But I’m using iPhone SE (2020) with iOS 14.

I have a button that once you press it I call the following function:

```auto
join = async () => {
      ....
      const signature = generateInstantToken(topic);
      await this.client.join(topic, signature, name);
      this.stream = this.client.getMediaStream();
      await this.stream.startAudio();
      ....
}

```

And then I get the error “Module:audio is not enabled”. Same happens with video. And it is only on iOS. It happens both on localhost and production.

 ![IMG_6336](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/8/b8565d5a0eab2da29beb8df3d0da448ccf77a929.png)

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [April 13, 2021, 8:58am UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/4 "2021-04-13T08:58:33Z")

</div>

Sorry for the misleading messages on the console. Because of poor support of `Audio Worklet` on iOS devices, when initializing Instant SDK, `audio` module is disabled.

---

<div class="post-metadata">

**Author:** ![treedis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/treedis/32/25135_2.png) [@treedis](https://devforum.zoom.us/u/treedis)\
**Post date:** [April 13, 2021, 9:14am UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/5 "2021-04-13T09:14:54Z")

</div>

So the Instant SDK does not support the audio module on iOS at all? Or is there a way to enable it?  
I’m afraid that without support on iOS the whole SDK will be useless for us.

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [April 13, 2021, 9:54am UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/6 "2021-04-13T09:54:04Z")

</div>

We can not enable `audio` module until iOS support `Audio Worklet`, because of the poor quality of audio without this

---

<div class="post-metadata">

**Author:** ![treedis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/treedis/32/25135_2.png) [@treedis](https://devforum.zoom.us/u/treedis)\
**Post date:** [April 13, 2021, 10:26am UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/7 "2021-04-13T10:26:46Z")

</div>

What about video module? Is it supported in iOS?  
This is very disappointing. Not being able to use Audio in iOS makes this whole SDK not usable at all… you should consider enabling it even with poor quality.

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [April 13, 2021, 10:33am UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/8 "2021-04-13T10:33:08Z")

</div>

Yes, iOS support sending and rendering video, but for video rendering, it only supports the single video.

---

<div class="post-metadata">

**Author:** ![treedis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/treedis/32/25135_2.png) [@treedis](https://devforum.zoom.us/u/treedis)\
**Post date:** [April 13, 2021, 10:38am UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/9 "2021-04-13T10:38:11Z")

</div>

And this single video rendering is also dependent on Apple? Or is it a limitation that will be lifted by you soon?

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [April 14, 2021, 1:36am UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/10 "2021-04-14T01:36:39Z")

</div>

It’s the technical limitation of iOS. Rendering multi-video may cause high CPU usage.

---

<div class="post-metadata">

**Author:** ![treedis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/treedis/32/25135_2.png) [@treedis](https://devforum.zoom.us/u/treedis)\
**Post date:** [April 15, 2021, 8:41am UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/11 "2021-04-15T08:41:23Z")

</div>

Seems weird. With simple P2P and WebRTC we managed to do a 4-way people video chat (4 videos rendering) without any problems (also with audio) on iOS devices.

I understand that Zoom SDK is dependent on iOS technical limitations, but allowing a few people to use video/audio on iOS is still better than not allowing any at all (from our business side). You should consider add this possibility and just add a warning in your documentation that more than X amount of people, it might cause issues. Give the users the freedom to choose. We just can’t use this SDK as of now. Shame.

---

<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:** [April 15, 2021, 5:18pm UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/12 "2021-04-15T17:18:33Z")

</div>

Hey @treedis ,

Thank you for your feedback and suggestion of having this called out in the docs.

We will update our docs to show this, and once there is no longer a technical limitation of iOS, we will support this. 🙂

I will also talk to the team about allowing the developer to have more flexibility over this. (CS-3257)

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:** [May 16, 2021, 3:19am UTC](https://devforum.zoom.us/t/module-audio-video-not-enabled/47579/13 "2021-05-16T03:19:07Z")

</div>

Closed on May 16, 2021, 3:19am UTC

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