# How to envoke OnActivespeakerChange event from Zoomsdk

**URL:** <https://devforum.zoom.us/t/how-to-envoke-onactivespeakerchange-event-from-zoomsdk/71996>\
**Category:** Zoom Apps\
**Created:** [July 11, 2022, 9:57am UTC](https://devforum.zoom.us/t/how-to-envoke-onactivespeakerchange-event-from-zoomsdk/71996 "2022-07-11T09:57:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![njain4\_be19](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/njain4_be19/32/32782_2.png) [@njain4\_be19](https://devforum.zoom.us/u/njain4_be19)\
**Post date:** [July 11, 2022, 9:57am UTC](https://devforum.zoom.us/t/how-to-envoke-onactivespeakerchange-event-from-zoomsdk/71996/1 "2022-07-11T09:57:48Z")

</div>

How to envoke OnActivespeakerChange event in js in the new zoom sdk .  
An example would be nice and where to add it as the docs doesn’t provide any good implementation.

---

<div class="post-metadata">

**Author:** ![leon.cheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/leon.cheng/32/36069_2.png) [@leon.cheng](https://devforum.zoom.us/u/leon.cheng)\
**Post date:** [July 11, 2022, 3:00pm UTC](https://devforum.zoom.us/t/how-to-envoke-onactivespeakerchange-event-from-zoomsdk/71996/2 "2022-07-11T15:00:47Z")

</div>

Does this answer your question? This documentation page can be found by clicking into the `OnActiveSpeakerChangeEvent` type on the documentation page.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/3/73aa112eb26a216f5d06e0b56cfb9bcc4cd172c3.png)

---

<div class="post-metadata">

**Author:** ![njain4\_be19](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/njain4_be19/32/32782_2.png) [@njain4\_be19](https://devforum.zoom.us/u/njain4_be19)\
**Post date:** [July 11, 2022, 3:18pm UTC](https://devforum.zoom.us/t/how-to-envoke-onactivespeakerchange-event-from-zoomsdk/71996/3 "2022-07-11T15:18:49Z")

</div>

can you explain a bit more about the users array? If it contains more than 2 objects what does it depict? thus that mean the context changes from user 1 to 2 ?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [July 15, 2022, 11:07pm UTC](https://devforum.zoom.us/t/how-to-envoke-onactivespeakerchange-event-from-zoomsdk/71996/4 "2022-07-15T23:07:01Z")

</div>

@njain4_be19 That array contains the users that are currently speaking along with a timestamp indicating when they started speaking. More information can be found [here](https://appssdk.zoom.us/modules/ZoomSdk._internal_.html#OnActiveSpeakerChangeUserType)
