# iOS : Audio is not working when multiple people join the meeting. Speaker (person) gets muted while talking

**URL:** <https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625>\
**Category:** iOS\
**Created:** [December 17, 2020, 10:01am UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625 "2020-12-17T10:01:20Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![vignesh](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@vignesh](https://devforum.zoom.us/u/vignesh)\
**Post date:** [December 17, 2020, 10:01am UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/1 "2020-12-17T10:01:20Z")

</div>

**Description**

I have enabled the custom UI, when I run the meeting and multiple persons are in the meeting room if one person talks the other person is getting muted and while talking in the meeting in between the person gets muted. Please help me to fix this issue.

**Which version?**  
v5.2.42037.1112

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 17, 2020, 8:36pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/2 "2020-12-17T20:36:37Z")

</div>

Hey @vignesh,

It is good to see you again! 🙂  
Let me try and reproduce this, and I will let you know what I find.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 17, 2020, 9:16pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/3 "2020-12-17T21:16:00Z")

</div>

Hey @vignesh,

I am not experiencing the same issue. Can you provide your audio code please?  
Are you also experiencing this using the Zoom client application?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![vignesh](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@vignesh](https://devforum.zoom.us/u/vignesh)\
**Post date:** [December 18, 2020, 10:17am UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/4 "2020-12-18T10:17:41Z")

</div>

Hello @Michael_Condon,  
Am not facing this issue with the zoom client, I have also have an android application, the android app is working fine. Issue exists only with the iOS app.

Am not using any specific code for audio.

this is the code snippet I have used to join a meeting.

```
        MobileRTC.shared().getMeetingSettings()?.enableCustomMeeting = true

         MobileRTC.shared().getMeetingService()?.customizedUImeetingDelegate = self

         MobileRTC.shared().getMeetingService()?.delegate = self

        MobileRTC.shared().getMeetingSettings()?.setMuteAudioWhenJoinMeeting(false)
    
        MobileRTC.shared().getMeetingSettings()?.enableMicOriginalInput(true)
    

         if(zoomMeetingId == "") {
                             // If the meeting number is empty, return error.
                               return
                       } else {
                            // If the meeting number is not empty.

                         let getservice = MobileRTC.shared().getMeetingService()

                               if let service = getservice {
                                service.delegate = self
                                 let paramDict = [kMeetingParam_Username:"\	(displayName)",kMeetingParam_MeetingNumber:zoomMeetingId, kMeetingParam_MeetingPassword:zoomMeetingPassword] as [String : Any]

                                 let response = service.joinMeeting(with: paramDict)

                               print("onJoinMeeting, response: \(response)")
                             }
                          }
```

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 18, 2020, 10:19pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/5 "2020-12-18T22:19:50Z")

</div>

Hey @vignesh

Have you implemented a MobileRTCAudioServiceDelegate? If so, can you let me know what callbacks are being triggered when an individual gets muted?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![vignesh](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@vignesh](https://devforum.zoom.us/u/vignesh)\
**Post date:** [December 19, 2020, 11:22am UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/6 "2020-12-19T11:22:24Z")

</div>

Hello @Michael_Condon,  
I have implemented MobileRTCAudioServiceDelegate and this method, onMyAudioStateChange is getting executed when the audio gets muted .

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 21, 2020, 10:19pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/7 "2020-12-21T22:19:53Z")

</div>

@vignesh,

Hmm that is strange. You can try putting the following in that callback to see if you can force the audio to not mute. I am not sure why this could be happening as it is not happening in the sample application.

```
    if let meetingService = MobileRTC.shared().getMeetingService() {
        if meetingService.myAudioType() == MobileRTCAudioType_None {
            meetingService.connectMyAudio(true)
        } else if meetingService.isMyAudioMuted() {
            meetingService.muteMyAudio(false)
        }
    }

```

Is anything else in your setup able to interfere with the audio of the device? IE, a webview, media player, another application?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![vignesh](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@vignesh](https://devforum.zoom.us/u/vignesh)\
**Post date:** [December 22, 2020, 12:10pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/8 "2020-12-22T12:10:29Z")

</div>

Hello @Michael_Condon,  
I added your code snippet, the error persists still. When a single attendee starts speaking there is no issue, once another attendee starts to speak the issue shows up. And the audio gets auto mute.

No Michael, no other interference.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 23, 2020, 12:16am UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/9 "2020-12-23T00:16:36Z")

</div>

Hey @vignesh,

Could you sandbox this issue into a small sample application and email the Xcode project over to [developersupport@zoom.us](mailto:developersupport@zoom.us) then mention this post so that I can look at it?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![vignesh](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@vignesh](https://devforum.zoom.us/u/vignesh)\
**Post date:** [December 23, 2020, 8:01pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/10 "2020-12-23T20:01:48Z")

</div>

Hello @Michael_Condon,  
Sure, please give me sometime, will send you ASAP.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 23, 2020, 9:40pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/11 "2020-12-23T21:40:03Z")

</div>

Hey @vignesh,

Thank you!

Michael

---

<div class="post-metadata">

**Author:** ![vignesh](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@vignesh](https://devforum.zoom.us/u/vignesh)\
**Post date:** [December 28, 2020, 9:21pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/12 "2020-12-28T21:21:12Z")

</div>

Hello @Michael_Condon,  
As you requested, I was about to send the sample application to you, so I started to strip down other functionalities in my code and found the audio to be working fine. Then I was able to figure out what was causing the issue.

My audio is working fine now, thanks for your help and support.

Thanks,  
R.Vignesh.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 29, 2020, 4:48pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/13 "2020-12-29T16:48:37Z")

</div>

Hey @vignesh,

Funny how that works sometimes! I am glad it is working now, though. Can I ask what the solution was?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![vignesh](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@vignesh](https://devforum.zoom.us/u/vignesh)\
**Post date:** [December 30, 2020, 9:53am UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/14 "2020-12-30T09:53:24Z")

</div>

Hello @Michael_Condon,  
I have added MobileRTC.shared().getMeetingService()?.muteMyAudio(false) in the onSinkMeetingActiveVideo method, removing this line made the app working. I have one more issue now, I have added video of the participants and the app is getting crash due to memory issue, will you be able to help me with this?

---

<div class="post-metadata">

**Author:** ![vignesh](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@vignesh](https://devforum.zoom.us/u/vignesh)\
**Post date:** [December 30, 2020, 12:40pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/15 "2020-12-30T12:40:10Z")

</div>

Hello @Michael_Condon,  
I have fixed the memory crash issue. Just one more help how to show our self view, currently am using this code showAttendeeVideo(videoView: userVideoView, withUserId: (MobileRTC.shared().getMeetingService()?.myselfUserID())!)

Is there any better way of doing this ?

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 4, 2021, 11:34pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/16 "2021-01-04T23:34:56Z")

</div>

Hey @vignesh,

I am glad your crash was resolved 🙂  
In regards to your self-view question: Not really, that is how I show the self-view in my application as well.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![vignesh](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@vignesh](https://devforum.zoom.us/u/vignesh)\
**Post date:** [January 8, 2021, 9:06pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/17 "2021-01-08T21:06:16Z")

</div>

ok thank you @Michael_Condon

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 14, 2021, 10:17pm UTC](https://devforum.zoom.us/t/ios-audio-is-not-working-when-multiple-people-join-the-meeting-speaker-person-gets-muted-while-talking/38625/18 "2021-01-14T22:17:49Z")

</div>

You are welcome @vignesh!
