# onConnectionChange event

**URL:** <https://devforum.zoom.us/t/onconnectionchange-event/69959>\
**Category:** Web\
**Created:** [June 4, 2022, 9:13am UTC](https://devforum.zoom.us/t/onconnectionchange-event/69959 "2022-06-04T09:13:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 6, 2022, 1:35am UTC](https://devforum.zoom.us/t/onconnectionchange-event/69959/2 "2022-06-06T01:35:23Z")

</div>

Hey @thanh.huynh

Thanks for your feedback.

As I mentioned in this thread [How to handle internet disconnection properly](https://devforum.zoom.us/t/how-to-handle-internet-disconnection-properly/65018) .  
The Video SDK keeps a heart-beat connection with the server, but the messages are not sent every second. So the `Reconnecting` state cannot be triggered immediately and when the reconnecting event is triggered, the SDK will try to connect the server. If the network is unavailable for now, then it will return the `Fail` state and will not try to reconnect anymore.

Thanks  
Vic

---

_[View the full topic](https://devforum.zoom.us/t/onconnectionchange-event/69959)._
