# Audio and Video issues

**URL:** <https://devforum.zoom.us/t/audio-and-video-issues/100004>\
**Category:** Web\
**Created:** [December 12, 2023, 3:11pm UTC](https://devforum.zoom.us/t/audio-and-video-issues/100004 "2023-12-12T15:11:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohit\_zoom](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rohit\_zoom](https://devforum.zoom.us/u/rohit_zoom)\
**Post date:** [December 12, 2023, 3:11pm UTC](https://devforum.zoom.us/t/audio-and-video-issues/100004/1 "2023-12-12T15:11:55Z")

</div>

Hi,

We are experiencing audio issues in our sessions. Sometimes audio of participants are garbled, its difficult to hear them clearly. Sometimes there is no audio for some users in session.

We are not able to reproduce it in our local lab. But sessions having more than 3-4 users have reported this.

Also i have noticed that when user join a room and video and audio is started initially there is lag in both video and audio which resolves after some seconds. It does not happens everytime.

For audio can you clarify, when does remote participants audio starts receiving.

- When startAudio is called by self user(Joining user)?
- OR when renderVideo() is called for remote participant?

We call startAudio when startVideo is finished and for safari we wait for encode and decode to get true. startAudio never show any errors.

Permission for devices are being taken before join is called.

Where sharedArrayBuffer is available we display max 3 users and a slider to switch between users view. And if sharedArrayBuffer is not available we just show one self video and 1 remote user with a slider. Meaning we call renderVideo for users which are in active screen. And when slider is moved we stopRendering previous user and start rendering new user.

Does not rendering video of a participant removes its audio too?

VideoSDK Web: v1.10.0  
Mostly used browsers are chrome, safari and firefox.

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [December 12, 2023, 5:48pm UTC](https://devforum.zoom.us/t/audio-and-video-issues/100004/2 "2023-12-12T17:48:29Z")

</div>

Hi @rohit_zoom ,

Thanks for your question. To clarify, have you tied your call of `startAudio()` to a button click, to avoid auto-starting the audio?  
Additionally, to answer your first point of clarification, audio is received when the `startAudio` function is called. To avoid automating the start of audio, we advise tying this function call to a button-click event.

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![rohit\_zoom](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rohit\_zoom](https://devforum.zoom.us/u/rohit_zoom)\
**Post date:** [December 12, 2023, 10:47pm UTC](https://devforum.zoom.us/t/audio-and-video-issues/100004/3 "2023-12-12T22:47:30Z")

</div>

Hi @rehema.zoom ,

we have not bind startAudio specifically to a button click.  
But whole joining process is called from a button click.  
Button click triggers a join call which subsequently call startVideo and startAudio.  
And this i think should satisfy the requirement of user gesture for audio.

---

<div class="post-metadata">

**Author:** ![rohit\_zoom](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rohit\_zoom](https://devforum.zoom.us/u/rohit_zoom)\
**Post date:** [December 13, 2023, 9:05am UTC](https://devforum.zoom.us/t/audio-and-video-issues/100004/4 "2023-12-13T09:05:56Z")

</div>

We show that button the first time page is mounted. Meaning joining video session through button click happen only first time when page gets mounted.

Any rejoin for example refreshing video connection after network connection error etc does perform these without button click.

---

<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:** [December 14, 2023, 1:53pm UTC](https://devforum.zoom.us/t/audio-and-video-issues/100004/5 "2023-12-14T13:53:20Z")

</div>

Hey @rohit_zoom

Could you please share some session ids with issues? This would be helpful for us to analyze and troubleshoot the issue.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![rohit\_zoom](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rohit\_zoom](https://devforum.zoom.us/u/rohit_zoom)\
**Post date:** [December 29, 2023, 5:24am UTC](https://devforum.zoom.us/t/audio-and-video-issues/100004/6 "2023-12-29T05:24:39Z")

</div>

Hi @vic.yang ,  
Sorry for late reply i was waiting for much recent sessions for this to happen.

Here are some sessions where audio is having issues:

RpF91iwgRDK4mNci17tnxw==  
z0pblzpZSJOHtxdKPdzdUg==  
UdBCWBI2TKi3aCP0ARByTg==  
xG0VzgrnQX+wY2+A9vbE8Q==

---

<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:** [December 30, 2023, 7:00am UTC](https://devforum.zoom.us/t/audio-and-video-issues/100004/7 "2023-12-30T07:00:42Z")

</div>

Hey @rohit_zoom

We analyzed the sessions you provided.

The microphone capture in sessions 1, 2, and 4 may have some issues, possibly due to device issues or high CPU load at the time, leading to unclear audio.

In session 3, the user’s network connection to our server was unstable, which could result in issues with no audio.

Would you like to integrate client-side telemetry? We can obtain more detailed error information to help troubleshoot the issues.

> **[Video SDK - web - Service quality](https://developers.zoom.us/docs/video-sdk/web/quality/#report-issues-to-zoom)**
>
> 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.

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:** [January 29, 2024, 5:01pm UTC](https://devforum.zoom.us/t/audio-and-video-issues/100004/8 "2024-01-29T17:01:29Z")

</div>

Closed on January 29, 2024, 5:01pm UTC

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