What should I do if a session is disconnected?


What should I do if a session is disconnected?

Applies To

  • Auto-Reconnection
  • Sessions
  • Video API


Auto-reconnection is a feature that is inherent in our SDKs. Once a call is disconnected due to certain reasons (wifi switch to mobile data, network failure, etc.), the platform will try to reconnect the user within 30 secs and will try multiple times until it is not able to do so.

One caveat to this feature is that while the platform reconnection feature works most of the time, it may not work all of the time. The performance relies mostly on the underlying network conditions and can vary from network to network. Different network settings, configurations, and applications influence the varying results of this feature.

Sometimes reconnects may fail, and if this happens, as a best practice, the Client Application is recommended to handle the auto-reconnection in order to bridge the gap with these network scenarios and ensure to auto-reconnect its calls. The Client Application is recommended to listen to the SessionDisconnectEvent and perform a manual reconnection upon receiving this event.

Additional Information

The below documentation describes the different events handled during reconnections. This would help to better manage reconnections in the Client applications.

Have more questions? Submit a request