# How to detect loses connection?

**URL:** <https://devforum.zoom.us/t/how-to-detect-loses-connection/118819>\
**Category:** Video SDK\
**Created:** [October 9, 2024, 5:06pm UTC](https://devforum.zoom.us/t/how-to-detect-loses-connection/118819 "2024-10-09T17:06:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![diogo.bemfica](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diogo.bemfica/32/63990_2.png) [@diogo.bemfica](https://devforum.zoom.us/u/diogo.bemfica)\
**Post date:** [October 9, 2024, 5:06pm UTC](https://devforum.zoom.us/t/how-to-detect-loses-connection/118819/1 "2024-10-09T17:06:13Z")

</div>

Hi,

Does anyone know if there’s a way to detect when the remote participant or host loses connection? I’m not referring to `onUserLeave`, as it takes about 2 minutes to notify. I need something more immediate, like when the participant or host closes the browser, and I’m notified right away?

---

<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:** [November 9, 2024, 3:06am UTC](https://devforum.zoom.us/t/how-to-detect-loses-connection/118819/2 "2024-11-09T03:06:14Z")

</div>

Closed on November 9, 2024, 3:06am UTC

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