# Issue with 'connection-change' Event Not Triggering on macOS When Disconnecting Network Cable During an Ongoing Call

**URL:** <https://devforum.zoom.us/t/issue-with-connection-change-event-not-triggering-on-macos-when-disconnecting-network-cable-during-an-ongoing-call/100799>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [December 27, 2023, 6:30am UTC](https://devforum.zoom.us/t/issue-with-connection-change-event-not-triggering-on-macos-when-disconnecting-network-cable-during-an-ongoing-call/100799 "2023-12-27T06:30:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yyy](https://avatars.discourse-cdn.com/v4/letter/y/ebca7d/32.png) [@yyy](https://devforum.zoom.us/u/yyy)\
**Post date:** [December 27, 2023, 6:30am UTC](https://devforum.zoom.us/t/issue-with-connection-change-event-not-triggering-on-macos-when-disconnecting-network-cable-during-an-ongoing-call/100799/1 "2023-12-27T06:30:04Z")

</div>

I’ve encountered an issue while developing with the Zoom Video SDK. Specifically, on macOS, when disconnecting the network cable during an ongoing call, the ‘connection-change’ event is not triggered by the Zoom Video SDK. This hinders my ability to retrieve the current user’s connection status within the session.Has anyone else experienced a similar problem, and are there any known solutions?

---

<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:** [December 28, 2023, 3:15am UTC](https://devforum.zoom.us/t/issue-with-connection-change-event-not-triggering-on-macos-when-disconnecting-network-cable-during-an-ongoing-call/100799/2 "2023-12-28T03:15:18Z")

</div>

Hey @yyy

Thanks for your feedback.

Would you mind sharing the browser information with us? (Which browser? What’s the version?)

When the network cable is disconnected, it may not be immediately reflected in the `connection-change'` event. (Chrome: around 24 seconds, Safari: 60 seconds)

We use WebSocket to communicate with the server, and the browser usually takes some time to detect the network disconnection. We also maintain a heartbeat packet to check the connection status, and currently, the interval is 60 seconds. We will shorten this interval in the next version to ensure prompt notification to users when the connection is lost.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![yyy](https://avatars.discourse-cdn.com/v4/letter/y/ebca7d/32.png) [@yyy](https://devforum.zoom.us/u/yyy)\
**Post date:** [December 28, 2023, 5:34am UTC](https://devforum.zoom.us/t/issue-with-connection-change-event-not-triggering-on-macos-when-disconnecting-network-cable-during-an-ongoing-call/100799/3 "2023-12-28T05:34:06Z")

</div>

Ok, I see. Thank you for your reply

---

<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:** [January 27, 2024, 3:34pm UTC](https://devforum.zoom.us/t/issue-with-connection-change-event-not-triggering-on-macos-when-disconnecting-network-cable-during-an-ongoing-call/100799/4 "2024-01-27T15:34:26Z")

</div>

Closed on January 27, 2024, 3:34pm UTC

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