# Get Notified When a User's Active Audio Changes method for iOS

**URL:** <https://devforum.zoom.us/t/get-notified-when-a-users-active-audio-changes-method-for-ios/47514>\
**Category:** iOS\
**Tags:** faq-ios\
**Created:** [April 8, 2021, 9:59am UTC](https://devforum.zoom.us/t/get-notified-when-a-users-active-audio-changes-method-for-ios/47514 "2021-04-08T09:59:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamzasaeed424](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hamzasaeed424/32/25625_2.png) [@hamzasaeed424](https://devforum.zoom.us/u/hamzasaeed424)\
**Post date:** [April 8, 2021, 9:59am UTC](https://devforum.zoom.us/t/get-notified-when-a-users-active-audio-changes-method-for-ios/47514/1 "2021-04-08T09:59:39Z")

</div>

**I want to detect that when the user starts speaking and in android onActiveSpeakerVideoUserChanged() this callback is available for this purpose but in iOS i’m unable to find any callback listener**

**v4.6.21666.0428**

---

<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 8, 2021, 6:45pm UTC](https://devforum.zoom.us/t/get-notified-when-a-users-active-audio-changes-method-for-ios/47514/2 "2021-04-08T18:45:52Z")

</div>

Hey @hamzasaeed424,

Thanks for using the dev forum!

The callback onSinkMeetingActiveVideo will be triggered with the active speaker video status changes. This should be equivalent to the Android callback you mentioned.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![hamzasaeed424](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hamzasaeed424/32/25625_2.png) [@hamzasaeed424](https://devforum.zoom.us/u/hamzasaeed424)\
**Post date:** [April 9, 2021, 8:03am UTC](https://devforum.zoom.us/t/get-notified-when-a-users-active-audio-changes-method-for-ios/47514/3 "2021-04-09T08:03:14Z")

</div>

Hi @Michael_Condon,

Thanks for Giving an Answer!

So basically i want to detect when the user starts speaking so for this callback will use onSinkMeetingActiveVideo? Or any other callback like i got this callback while doing R&D  
` onUserActiveAudioChanged` so i can say `onSinkMeetingActiveVideo` is equivalent to previous method?

Thanks!  
Hamza

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 9, 2021, 6:16pm UTC](https://devforum.zoom.us/t/get-notified-when-a-users-active-audio-changes-method-for-ios/47514/4 "2021-04-09T18:16:54Z")

</div>

Hi @hamzasaeed424,

Correct, you can use `onSinkMeetingActiveVideo` for this. As Michael pointed out, this callback is invoked whenever the user who is currently visible in the [active speaker view](https://support.zoom.us/hc/en-us/articles/201362323-Changing-the-video-layout-Speaker-view-and-Gallery-view-) changes.

Thanks!

---

<div class="post-metadata">

**Author:** ![hamzasaeed424](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hamzasaeed424/32/25625_2.png) [@hamzasaeed424](https://devforum.zoom.us/u/hamzasaeed424)\
**Post date:** [April 10, 2021, 7:56am UTC](https://devforum.zoom.us/t/get-notified-when-a-users-active-audio-changes-method-for-ios/47514/5 "2021-04-10T07:56:18Z")

</div>

Basically you are right for this but my question is different that i want to know who is is talking

---

<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 12, 2021, 8:58pm UTC](https://devforum.zoom.us/t/get-notified-when-a-users-active-audio-changes-method-for-ios/47514/6 "2021-04-12T20:58:56Z")

</div>

Hey @hamzasaeed424,

I see, if you want to know who is talking (as in the person who’s mic is making noise), `onSinkMeetingAudioStatusChange:` will fire when either the user begins speaking, or when a user stops speaking. To check which, you can use the isTalking function in [MobileRTCAudioStatus](https://marketplacefront.zoom.us/sdk/meeting/ios/interface_mobile_r_t_c_audio_status.html#a104df0a689f34645cd4dbb638c0b0587).

So if user A was unmuted, but not speaking, then said something, this callback would be triggered. Then when user A is done saying something, this callback is triggered again.

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 13, 2021, 6:59am UTC](https://devforum.zoom.us/t/get-notified-when-a-users-active-audio-changes-method-for-ios/47514/7 "2021-05-13T06:59:15Z")

</div>

Closed on May 13, 2021, 6:59am UTC

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