Suspended state detection

Video SDK Web and Version
Zoom Web Video SDK 1.12.5
Google Chrome

Hello.

I am currently using the Video SDK in a web browser.

The desktop application version of the zoom client behaves in a way that ends the call and disconnects from the session when the PC or Mac is closed.

Is it possible to achieve this behavior with the web version of the zoom client?

Currently, the connection-change state becomes the connect state after about 2000ms.

Also, if the computer goes to sleep for a certain period of time, the camera will fail to start up.

Is there any processing that needs to be done?

1 Like

Hi Hiroaki,
You should listen for the ‘unload’ and ‘beforeUnload’ events on your webpage (to understand when a tab is closed).
By doing so, you could call the ZoomMtg.endMeeting() function at the appropiate time and end the meeting.