How to handle internet disconnection properly

Hey @shoaib

The state:'Fail',reason:'connection error') return value indicates the video sdk cannot reach any available servers. It usually occurs when the network is disconnected.

And for why others can still see the disconnected user in the session, our server has a hearbeat detection mechanism, when the disconnection exceeds two minutes, the user will be shown as leaving(disappeared in the user list).

We do this so that others don’t see you rejoining the session due to a short-term network disconnection or network switch.

Thanks
Vic

1 Like