# Participant changing audio type does not trigger MobileRTCAudioServiceDelegate callback

**URL:** <https://devforum.zoom.us/t/participant-changing-audio-type-does-not-trigger-mobilertcaudioservicedelegate-callback/46960>\
**Category:** iOS\
**Created:** [March 30, 2021, 10:07pm UTC](https://devforum.zoom.us/t/participant-changing-audio-type-does-not-trigger-mobilertcaudioservicedelegate-callback/46960 "2021-03-30T22:07:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![caleb.bolton](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@caleb.bolton](https://devforum.zoom.us/u/caleb.bolton)\
**Post date:** [March 30, 2021, 10:07pm UTC](https://devforum.zoom.us/t/participant-changing-audio-type-does-not-trigger-mobilertcaudioservicedelegate-callback/46960/1 "2021-03-30T22:07:13Z")

</div>

**Description**  
When a participant in a meeting connects or disconnects from audio none of the `MobileRTCAudioServiceDelegate` methods are called on the host device.

**Which iOS Client SDK version?**  
5.4.54802.0124

**To Reproduce**

1. Host starts meeting
2. Participant joins meeting
3. Participant connects to audio
4. Participant disconnects from audio

Expected result:  
`onSinkMeetingAudioStatusChange` delegate method is called twice in response to the participant connecting and disconnecting from audio. This is what happens in older versions of the SDK.

Actual result:  
No delegate methods are called.

**Additional context**  
The delegate methods `onSinkMeetingAudioStatusChange` and `onSinkMeetingAudioStatusChange:audioStatus:` are correctly called when the participants mutes and unmutes which confirms that the host is setup to receive delegate method calls.

_Bonus:_  
These are the changes I found between the version we’re switching from and the newest version. The table values are the delegate methods called _on the host device_ in response to the given events.

 ![Screen Shot 2021-03-30 at 5.08.56 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/611cd25717f9013eb8f05b34695c5c61efaa7e84.png)

---

<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:** [March 31, 2021, 6:12pm UTC](https://devforum.zoom.us/t/participant-changing-audio-type-does-not-trigger-mobilertcaudioservicedelegate-callback/46960/2 "2021-03-31T18:12:23Z")

</div>

Hey @caleb.bolton,

Thanks for using the dev forum!  
Let me run some tests to see if I can reproduce this issue. Stay tuned.

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:** [March 31, 2021, 6:33pm UTC](https://devforum.zoom.us/t/participant-changing-audio-type-does-not-trigger-mobilertcaudioservicedelegate-callback/46960/3 "2021-03-31T18:33:01Z")

</div>

Hey @caleb.bolton,

This took me a couple tries to reproduce, but I am seeing the same issue. I will file a bug report to the engineers about this. Thank you for bringing this to our attention!

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![caleb.bolton](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@caleb.bolton](https://devforum.zoom.us/u/caleb.bolton)\
**Post date:** [March 31, 2021, 9:12pm UTC](https://devforum.zoom.us/t/participant-changing-audio-type-does-not-trigger-mobilertcaudioservicedelegate-callback/46960/4 "2021-03-31T21:12:53Z")

</div>

Thanks @Michael_Condon!

Just a note, I see that the issue didn’t happen every time for you but from what I could tell this issue did not seem intermittent for me; I never saw `onSinkMeetingAudioStatusChange` called in response to a client connecting/disconnecting from audio.

Best,  
Caleb

---

<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:** [April 1, 2021, 9:34pm UTC](https://devforum.zoom.us/t/participant-changing-audio-type-does-not-trigger-mobilertcaudioservicedelegate-callback/46960/5 "2021-04-01T21:34:29Z")

</div>

Hey @caleb.bolton,

Maybe I am mistaken, but I believe I saw it fire when the host/participant roles were reversed. As in, when the iOS SDK device is the participant and the host disconnects/reconnects.

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:** [April 2, 2021, 7:21pm UTC](https://devforum.zoom.us/t/participant-changing-audio-type-does-not-trigger-mobilertcaudioservicedelegate-callback/46960/6 "2021-04-02T19:21:12Z")

</div>

Hey @caleb.bolton,

There is a new version of the SDK that shipped today. It contains a fix for this issue. Can you update and let me know if you are still seeing this issue?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![caleb.bolton](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@caleb.bolton](https://devforum.zoom.us/u/caleb.bolton)\
**Post date:** [April 7, 2021, 1:12am UTC](https://devforum.zoom.us/t/participant-changing-audio-type-does-not-trigger-mobilertcaudioservicedelegate-callback/46960/7 "2021-04-07T01:12:44Z")

</div>

Hi @Michael_Condon ,

I tried out the new fixed version of the SDK and found that `onSinkMeetingAudioStatusChange` is still not being called as it was in previous versions, but now a new method `onSinkMeetingAudioTypeChange` is being called when participants change audio type, so we are unblocked.

Thanks for looking into 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:** [April 7, 2021, 4:32pm UTC](https://devforum.zoom.us/t/participant-changing-audio-type-does-not-trigger-mobilertcaudioservicedelegate-callback/46960/8 "2021-04-07T16:32:01Z")

</div>

Hey @caleb.bolton,

Awesome, thank you for checking that 🙂 please let us know if you have any other questions.

Thanks!  
Michael

---

<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 8, 2021, 2:32am UTC](https://devforum.zoom.us/t/participant-changing-audio-type-does-not-trigger-mobilertcaudioservicedelegate-callback/46960/9 "2021-05-08T02:32:03Z")

</div>

Closed on May 8, 2021, 2:32am UTC

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