# onUserActiveAudioChange not firing after everyone stops speaking

**URL:** <https://devforum.zoom.us/t/onuseractiveaudiochange-not-firing-after-everyone-stops-speaking/76661>\
**Category:** Windows\
**Created:** [September 28, 2022, 7:37pm UTC](https://devforum.zoom.us/t/onuseractiveaudiochange-not-firing-after-everyone-stops-speaking/76661 "2022-09-28T19:37:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryan.phillips](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@ryan.phillips](https://devforum.zoom.us/u/ryan.phillips)\
**Post date:** [September 28, 2022, 7:37pm UTC](https://devforum.zoom.us/t/onuseractiveaudiochange-not-firing-after-everyone-stops-speaking/76661/1 "2022-09-28T19:37:28Z")

</div>

**Description**  
I’m using IMeetingAudioCtrlEvent::onUserActiveAudioChange to show when users are speaking. It works fine for one or more people speaking, but when the last person stops speaking the event doesn’t seem to fire and I’m unable to show that the last user is no longer speaking.

I’ve seen several posts on here describing the event firing with 0 user IDs in the list. I expect that this event should fire when the active audio changes to 0 users. If there is a different way to detect when no one is talking I’d be happy to use that but I haven’t found it if it exists

**Which Windows Meeting SDK version?**  
5.11.11.8475 (Windows)

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Register an event handler for IMeetingAudioCtrlEvent using SetEvent()
2. Start/Join a meeting (alone to better control the event)
3. Speak into the microphone - The event fires and has the id(s) of anyone talking
4. Stop speaking/mute microphone - The event does not fire

**Screenshots**  
none

**Troubleshooting Routes**  
I tried handling the event in both the C# SDK and the C++ demo and they both show the same results where it fires with more than 0 speakers but not when everyone stops talking.

**Device (please complete the following information):**

- Device: HP ProBook 650 G5
- OS: Windows 10 Pro Version 21H2

**Additional context**  
none

---

<div class="post-metadata">

**Author:** ![ryan.phillips](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@ryan.phillips](https://devforum.zoom.us/u/ryan.phillips)\
**Post date:** [October 24, 2022, 4:34pm UTC](https://devforum.zoom.us/t/onuseractiveaudiochange-not-firing-after-everyone-stops-speaking/76661/2 "2022-10-24T16:34:40Z")

</div>

Still waiting for this to be reviewed. commenting to keep it alive.

---

<div class="post-metadata">

**Author:** ![ryan.phillips](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@ryan.phillips](https://devforum.zoom.us/u/ryan.phillips)\
**Post date:** [November 22, 2022, 1:56pm UTC](https://devforum.zoom.us/t/onuseractiveaudiochange-not-firing-after-everyone-stops-speaking/76661/4 "2022-11-22T13:56:25Z")

</div>

if(noResponse == true) {  
KeepAlive();  
}

---

<div class="post-metadata">

**Author:** ![tyang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tyang/32/43265_2.png) [@tyang](https://devforum.zoom.us/u/tyang)\
**Post date:** [November 23, 2022, 1:18am UTC](https://devforum.zoom.us/t/onuseractiveaudiochange-not-firing-after-everyone-stops-speaking/76661/5 "2022-11-23T01:18:30Z")

</div>

I ran into the same issue – still figuring out a workaround, but there is [`IUserInfo::IsTalking`](https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_user_info.html#a646df55461d7dc267f41ec3461b72d52), so if you have a list of active speakers, you should be able to use `isTalking` to figure out whether each speaker is still talking or not.

---

<div class="post-metadata">

**Author:** ![ryan.phillips](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@ryan.phillips](https://devforum.zoom.us/u/ryan.phillips)\
**Post date:** [December 6, 2022, 2:09pm UTC](https://devforum.zoom.us/t/onuseractiveaudiochange-not-firing-after-everyone-stops-speaking/76661/6 "2022-12-06T14:09:54Z")

</div>

I thought about using IsTalking, but because of the way I’m using this I’d have to poll every user pretty frequently which isn’t a very good solution particularly in larger meetings. Thanks for the tip anyway!

---

<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 6, 2023, 12:10am UTC](https://devforum.zoom.us/t/onuseractiveaudiochange-not-firing-after-everyone-stops-speaking/76661/7 "2023-01-06T00:10:47Z")

</div>

Closed on January 6, 2023, 12:10am UTC

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