# \`startAudio\` takes too much time to complete on some devices

**URL:** <https://devforum.zoom.us/t/startaudio-takes-too-much-time-to-complete-on-some-devices/131553>\
**Category:** Web\
**Created:** [April 16, 2025, 12:46pm UTC](https://devforum.zoom.us/t/startaudio-takes-too-much-time-to-complete-on-some-devices/131553 "2025-04-16T12:46:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [April 16, 2025, 12:46pm UTC](https://devforum.zoom.us/t/startaudio-takes-too-much-time-to-complete-on-some-devices/131553/1 "2025-04-16T12:46:02Z")

</div>

**Video SDK Type and Version**  
2.1.10

**Description**

- On some devices, the `stream.startAudio` function takes an unusually long time to complete immediately after joining a meeting.  
According to a customer report, it takes approximately **15 seconds** to complete, which is far too long to be acceptable.

This is my customer session ids:

```auto
ejaMB+wYQ6qB7YpBmIIn6w==
tiNHlJpBRP2I8HOzOTleaw==

```

This is my code:

```auto
        await stream.startAudio({ mute: false });

```

I would really appreciate your support on this as soon as possible.  
Thank you!

**Error?**  
No error

**Browser/client type and version**

- Win11
- Edge version 119

---

<div class="post-metadata">

**Author:** ![ticorrian.heard](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ticorrian.heard/32/70213_2.png) [@ticorrian.heard](https://devforum.zoom.us/u/ticorrian.heard)\
**Post date:** [April 16, 2025, 3:57pm UTC](https://devforum.zoom.us/t/startaudio-takes-too-much-time-to-complete-on-some-devices/131553/3 "2025-04-16T15:57:57Z")

</div>

Hi @lmtruong1512 I submitted an engineering ticket to take a look on the backend for the meetings you provided. The reference is ZSEE-164564

Just a couple of additional question I think would help the investigation. Do you know what audio devices they tried to connect to? Or are they using default system audio? Also, browser load could play a role in delayed connection. Since they are using Edge, could you also verify if the browser is using sharedArrayBuffer?

---

<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 17, 2025, 10:02am UTC](https://devforum.zoom.us/t/startaudio-takes-too-much-time-to-complete-on-some-devices/131553/5 "2025-04-17T10:02:22Z")

</div>

Hi @lmtruong1512

Thanks for your feedback.

> ejaMB+wYQ6qB7YpBmIIn6w==  
> tiNHlJpBRP2I8HOzOTleaw==

We analyzed the session logs and found that it took an unusually long time—around 15 seconds—to establish a connection to the Zoom WebRTC server.

We’re currently investigating the root cause of this issue and will keep you updated.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [April 17, 2025, 10:10am UTC](https://devforum.zoom.us/t/startaudio-takes-too-much-time-to-complete-on-some-devices/131553/6 "2025-04-17T10:10:58Z")

</div>

Hi @vic.yang, thank you!  
We’ve noticed that starting and rendering the video is still fast — the delay only seems to affect audio.  
Does video rendering not rely on WebRTC the same way audio does?

---

<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 17, 2025, 10:26am UTC](https://devforum.zoom.us/t/startaudio-takes-too-much-time-to-complete-on-some-devices/131553/7 "2025-04-17T10:26:02Z")

</div>

> [@lmtruong1512](#):
>
> Does video rendering not rely on WebRTC the same way audio does?

According to the session logs, video rendering was still using the WASM solution, so there was no impact on the video.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [April 18, 2025, 1:59am UTC](https://devforum.zoom.us/t/startaudio-takes-too-much-time-to-complete-on-some-devices/131553/8 "2025-04-18T01:59:43Z")

</div>

Hi @vic.yang,  
We tried disabling WebRTC for both video and audio by setting `video_webrtc_mode` and `audio_webrtc_mode` to `0`. After doing so, the issue no longer appears — audio starts faster now.

However, I’m not sure if this temporary workaround might cause any side effects.  
Please continue investigating the root cause and keep me updated on any progress.  
Thank you very much!

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [April 18, 2025, 4:42am UTC](https://devforum.zoom.us/t/startaudio-takes-too-much-time-to-complete-on-some-devices/131553/9 "2025-04-18T04:42:40Z")

</div>

@vic.yang One more question,  
Is it correct that WebRTC is only supported starting from version 2.1.0? Also, from that version onward, if the `video_webrtc_mode` and `audio_webrtc_mode` options aren’t set, does it automatically detect the appropriate settings by default?

Thanks

---

<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 18, 2025, 6:11am UTC](https://devforum.zoom.us/t/startaudio-takes-too-much-time-to-complete-on-some-devices/131553/10 "2025-04-18T06:11:23Z")

</div>

Hi @lmtruong1512

> Is it correct that WebRTC is only supported starting from version 2.1.0?

Not entirely correct—WebRTC audio has been supported for a long time, but WebRTC video has only been supported since version 2.1.0.

> does it automatically detect the appropriate settings by default?

Yes. Video SDK will determine whether to enable WebRTC if no relevant JWT fields are specified.

As for the issue where using WebRTC audio causes `startAudio` to take a long time to succeed — we’ve identified the root cause. It’s likely due to the user’s network blocking ports 8803–8810, which prevents a direct connection to the WebRTC server. As a result, the SDK will fall back to connecting via a TURN server. Currently, the fallback timeout is set too long, and we plan to optimize this in a future release.

Thanks  
Vic

---

<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:** [April 18, 2026, 6:11am UTC](https://devforum.zoom.us/t/startaudio-takes-too-much-time-to-complete-on-some-devices/131553/11 "2026-04-18T06:11:36Z")

</div>

Closed on April 18, 2026, 6:11am UTC

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