# Audio Issues in Zoom Video SDK

**URL:** <https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432>\
**Category:** iOS\
**Tags:** video-sdk\
**Created:** [September 13, 2024, 3:27pm UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432 "2024-09-13T15:27:59Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![prw3100](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@prw3100](https://devforum.zoom.us/u/prw3100)\
**Post date:** [September 13, 2024, 3:27pm UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/1 "2024-09-13T15:27:59Z")

</div>

Dear Zoom Support Team,

We are currently using the latest iOS version (v1.12.10) of the Zoom Video SDK. Since upgrading to this version, we have encountered intermittent issues where audio is not being transmitted between users, resulting in participants being unable to hear each other. This issue was not present when we were using the SDK at commit (9b77d993a667e4cfa36897424f35607445a35946).

Although we have not been able to consistently reproduce this issue, it occurs sporadically. We have attached a log file that we hope will assist your team in identifying and resolving this issue in the next release ([ZomVideoSDK 1.12.10.log - Google Drive](https://drive.google.com/file/d/1xtyKHbXPbgesaTmVLGkKOyzHji4oLGQt/view?usp=sharing))

Thank you for your attention to this matter.

---

<div class="post-metadata">

**Author:** ![richard.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.zoom/32/41061_2.png) [@richard.zoom](https://devforum.zoom.us/u/richard.zoom)\
**Post date:** [September 18, 2024, 6:57pm UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/2 "2024-09-18T18:57:43Z")

</div>

Hello Pranav,

Are you able to reproduce these issues with the Zoom VSDK sample app accompanying version 1.12.10?

Thank you for your patience,  
Richard

---

<div class="post-metadata">

**Author:** ![prw3100](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@prw3100](https://devforum.zoom.us/u/prw3100)\
**Post date:** [September 20, 2024, 6:04pm UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/3 "2024-09-20T18:04:07Z")

</div>

Hi @richard.zoom,  
We haven’t tried reproducing it in the sample app accompany the SDK because we are doing something specific in our own demo app. We first downloaded the v1.13.0 IOS ZoomVideoSDK. Following is what we do:

In the onSessionJoin function we call  
"  
//disable audio when Main User hasn’t joined yet  
if let audioHelper = sharedInstance.getAudioHelper() {  
audioHelper.stopAudio()  
}  
"

In the func onUserJoin() func we call  
"  
//Main User joined  
if audioStatus.audioType == .none {  
let error = audioHelper.startAudio()  
print(error.rawValue)  
}  
"

This gives an error 8 (`SDKERR_UNAUTHENTICATION` 8 SDK is not authorized before use.) As a result there is no audio coming out. Leaving the session and rejoining fixes the audio sometimes. Build log: [ZomVideoSDK 1.13.0\_AudioIssue.log - Google Drive](https://drive.google.com/file/d/1nsuTvPHIWWY2Sr4Pw1tYmA5cZWacEH7x/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![richard.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.zoom/32/41061_2.png) [@richard.zoom](https://devforum.zoom.us/u/richard.zoom)\
**Post date:** [September 30, 2024, 10:44pm UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/4 "2024-09-30T22:44:47Z")

</div>

Hi Pranav,

There is no need to stop the user’s audio beforehand. What happens if you remove that line?

Thank you for your patience,  
Richard

---

<div class="post-metadata">

**Author:** ![prw3100](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@prw3100](https://devforum.zoom.us/u/prw3100)\
**Post date:** [October 1, 2024, 3:10pm UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/5 "2024-10-01T15:10:47Z")

</div>

Hi @richard.zoom,  
Removing the line fixes the issue but our workflow requires audio to be stop/muted beforehand. The only workaround we found was to mute the audio before joining the session as part of the ZoomVideoSDKSessionContext

sessionContext.audioOption?.mute = true

---

<div class="post-metadata">

**Author:** ![richard.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.zoom/32/41061_2.png) [@richard.zoom](https://devforum.zoom.us/u/richard.zoom)\
**Post date:** [October 2, 2024, 12:16am UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/6 "2024-10-02T00:16:37Z")

</div>

Hello Pranav,

That audio option is a better way than calling `stopAudio`, setting it on Session Context is an intended design. Stop audio so for disconnecting with the computer’s audio. You should use mute/unmuting functions instead. You can also try `muteAllAudio:` in the `ZoomVideoSDKAudioHelper` as seen [here](https://marketplacefront.zoom.us/sdk/custom/ios/interface_zoom_video_s_d_k_audio_helper.html#a071d179bba684033c716ff53fe755d5a), or `muteAudio:`.

Thank you for your patience,  
Richard

---

<div class="post-metadata">

**Author:** ![richard.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.zoom/32/41061_2.png) [@richard.zoom](https://devforum.zoom.us/u/richard.zoom)\
**Post date:** [October 2, 2024, 2:08am UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/7 "2024-10-02T02:08:55Z")

</div>

Also, please note that error 8 is not `SDKERR_UNAUTHENTICATION` (that is the error 8 in the Meeting SDK), but rather `Errors_Call_Too_Frequently`. If you make too many `stopAudio` and `startAudio` calls in succession, you will trigger that error.

---

<div class="post-metadata">

**Author:** ![prw3100](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@prw3100](https://devforum.zoom.us/u/prw3100)\
**Post date:** [October 2, 2024, 2:05pm UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/8 "2024-10-02T14:05:23Z")

</div>

Hi @richard.zoom.  
Thats makes sense. Thank you for your response

---

<div class="post-metadata">

**Author:** ![prw3100](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@prw3100](https://devforum.zoom.us/u/prw3100)\
**Post date:** [October 31, 2024, 9:37pm UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/9 "2024-10-31T21:37:51Z")

</div>

Hi @richard.zoom,  
We are seeing more audio issues with the latest version of zoom video sdk specifically related to interruptions. If 2 users are in a meeting and there is music from one user getting transmitted through the microphone to the other user. During that time, of the other user quit their app. The volume of the first device from which the user is sharing their music completely goes down. Pressing the volume button doesn’t help. The first user then needs to then leave the meeting and join again to have their audio back. What’s strange is, this doesn’t happen all the time. Every now and then this happens and therefore we are unable to consistently replicate it. Is this a known ZOOM sdk issue? Is there any thing that you recommend we do in the “onUserLeave” delegate callback to ensure that audio is working as expected?

---

<div class="post-metadata">

**Author:** ![prw3100](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@prw3100](https://devforum.zoom.us/u/prw3100)\
**Post date:** [November 20, 2024, 2:50am UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/10 "2024-11-20T02:50:00Z")

</div>

Hi @richard.zoom,  
Any update on the audio issue?

---

<div class="post-metadata">

**Author:** ![richard.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.zoom/32/41061_2.png) [@richard.zoom](https://devforum.zoom.us/u/richard.zoom)\
**Post date:** [November 21, 2024, 12:22am UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/11 "2024-11-21T00:22:49Z")

</div>

Hello Pranav, can you please provide logs of this issue and steps to reproduce it?

---

<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:** [December 21, 2024, 10:23am UTC](https://devforum.zoom.us/t/audio-issues-in-zoom-video-sdk/117432/12 "2024-12-21T10:23:16Z")

</div>

Closed on December 21, 2024, 10:23am UTC

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