When having connection issues, if two users (or more ) are in the meeting, because of hard beat mechanism, user gets disconnected, but it's not removed from the meeting. Can I avoid it ? And remove the user after a custom period of time?

Video SDK Type and Version
Video sdk: “2.2.0”

Description
Test scenario: Two users joined the meeting, one is getting network issues and after 30 seconds is moved to connection fail page, but in the meeting his placeholder stays for 2-3 minutes ( as I searched it’s a heartbeat mechanism ). Can I avoid it in a way ? and when after 30 seconds user is redirected to connection fail page , to remove as well from call page ? And maybe inform the user from the meeting that the other user got disconnected because some network issues.
Thanks in advance !

Hey. @Alexandru

Thanks for your feedback.

We provide the isInFailover property, which allows other users in the session to determine whether a user is currently in a reconnection state.

Currently, there’s no perfect solution for handling network disconnection scenarios. However, if the issue is caused by the browser being closed directly—leading to other users still seeing that user in the session—you can use the leaveOnPageUnload option in the client.init method.

Thanks
Vic

Hello, @vic.yang
Indeed that what I used and it’s helpful for other users to see when a specific user encounter some connection issue. But is there a way to “kick” the user from the meeting manually ?

Hi @Alexandru

But is there a way to “kick” the user from the meeting manually ?

The host can call the removeUser method to remove the user.

However, please note that once removed, the user will not be able to rejoin the session. Make sure to distinguish between a confirmed disconnection and a temporary network glitch causing a reconnection—use this approach with caution.

Thanks
Vic

Thank you for your help @vic.yang