# Get active speaker to show "speaking" indicator for each user

**URL:** <https://devforum.zoom.us/t/get-active-speaker-to-show-speaking-indicator-for-each-user/51106>\
**Category:** Web\
**Created:** [May 26, 2021, 4:13pm UTC](https://devforum.zoom.us/t/get-active-speaker-to-show-speaking-indicator-for-each-user/51106 "2021-05-26T16:13:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshua1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joshua1/32/26797_2.png) [@joshua1](https://devforum.zoom.us/u/joshua1)\
**Post date:** [May 26, 2021, 4:13pm UTC](https://devforum.zoom.us/t/get-active-speaker-to-show-speaking-indicator-for-each-user/51106/1 "2021-05-26T16:13:33Z")

</div>

Is there a way to get the active speaker so I can display an indicator to show which user is speaking?

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [May 28, 2021, 2:49am UTC](https://devforum.zoom.us/t/get-active-speaker-to-show-speaking-indicator-for-each-user/51106/2 "2021-05-28T02:49:59Z")

</div>

Hey @joshua1

Maybe the `active-speaker` event will fit your needs.

```
client.on('active-speaker', (payload) => {
   // the first element of payload is the active speaker.
  console.log(`Active user:`,payload);
});

```

Thanks  
Vic

---

<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:** [June 27, 2021, 12:50pm UTC](https://devforum.zoom.us/t/get-active-speaker-to-show-speaking-indicator-for-each-user/51106/3 "2021-06-27T12:50:11Z")

</div>

Closed on June 27, 2021, 12:50pm UTC

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