Hey @kalparslantufek
Thanks for your feedback.
You can specify leaveOnPageUnload
in the client.init
method to ensure that when a user closes their tab, browser, or app, they will immediately leave the meeting.
Additionally, we provide an isInFailover
attribute in the user payload, indicating whether the user has disconnected from the server (due to reasons such as network loss or closing the page).
Further explanation for 2 or more minutes wait:
When a user temporarily loses connection to the server due to a brief network issue, we don’t immediately remove them to enhance user experience. We have a heartbeat detection mechanism between the client and server, and only if the server doesn’t receive any heartbeat signals within 3 minutes will the user be removed.
Thanks
Vic