# Detect active users during a meeting

**URL:** <https://devforum.zoom.us/t/detect-active-users-during-a-meeting/22436>\
**Category:** Windows\
**Created:** [June 26, 2020, 4:35am UTC](https://devforum.zoom.us/t/detect-active-users-during-a-meeting/22436 "2020-06-26T04:35:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![umeta](https://avatars.discourse-cdn.com/v4/letter/u/b5a626/32.png) [@umeta](https://devforum.zoom.us/u/umeta)\
**Post date:** [June 26, 2020, 4:35am UTC](https://devforum.zoom.us/t/detect-active-users-during-a-meeting/22436/1 "2020-06-26T04:35:54Z")

</div>

Hello,  
Can someone provide some sample code for the method below. I’m trying to detect the active users (users who are talking) during a zoom meeting.

AudioCtrlEvent-\>onUserActiveAudioChange

See below the member function documentation.

[https://zoom.github.io/zoom-sdk-windows/class\_i\_meeting\_audio\_ctrl\_event.html#af1c8eaef123247b389046c1993759071](https://zoom.github.io/zoom-sdk-windows/class_i_meeting_audio_ctrl_event.html#af1c8eaef123247b389046c1993759071)

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 27, 2020, 2:09am UTC](https://devforum.zoom.us/t/detect-active-users-during-a-meeting/22436/2 "2020-06-27T02:09:34Z")

</div>

Hi @umeta,

We do not have the exact sample code for `onUserActiveAudioChange` in the demo app, but you could refer to the implementation of `onUserAudioStatusChange`, subscribe to the event, and the callback will be trigger when the active user’s audio has changed:[https://github.com/zoom/zoom-sdk-windows/blob/69f8ff8310a4e52fd26be42d7547854484600940/demo/sdk\_demo/EventMgr.cpp#L249](https://github.com/zoom/zoom-sdk-windows/blob/69f8ff8310a4e52fd26be42d7547854484600940/demo/sdk_demo/EventMgr.cpp#L249)

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 10:29pm UTC](https://devforum.zoom.us/t/detect-active-users-during-a-meeting/22436/3 "2020-08-21T22:29:03Z")

</div>

Closed on August 21, 2020, 10:29pm UTC


