# Meeting ended by host event on Video SDK

**URL:** <https://devforum.zoom.us/t/meeting-ended-by-host-event-on-video-sdk/88932>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [May 24, 2023, 5:37am UTC](https://devforum.zoom.us/t/meeting-ended-by-host-event-on-video-sdk/88932 "2023-05-24T05:37:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parth](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/parth/32/28687_2.png) [@Parth](https://devforum.zoom.us/u/Parth)\
**Post date:** [May 24, 2023, 5:37am UTC](https://devforum.zoom.us/t/meeting-ended-by-host-event-on-video-sdk/88932/1 "2023-05-24T05:37:12Z")

</div>

The current video SDK for the web doesn’t have an event of the meeting ended by the host. Webhook is there for meeting ended by the host, but I want an event in all participant’s browsers, so that when the host ends a meeting, other participants can get an event and we can change the view for all other participants.

---

<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 24, 2023, 7:33am UTC](https://devforum.zoom.us/t/meeting-ended-by-host-event-on-video-sdk/88932/2 "2023-05-24T07:33:37Z")

</div>

Hey @Parth

Thanks for your feedback.

Could you try to listen to the `connection-change` event, the event payload will be as the following if the session is ended by the host?

```javascript
{
  state:'Closed',
  reason: 'ended by host' 
}

```

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 23, 2023, 5:34pm UTC](https://devforum.zoom.us/t/meeting-ended-by-host-event-on-video-sdk/88932/3 "2023-06-23T17:34:12Z")

</div>

Closed on June 23, 2023, 5:34pm UTC

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