I’m using “Video SDK” on the web. After entering a session, if one party is disconnected, how to notify the other party to react. Are there any related events?
Thank you.
Hey @freda199594
Thanks for your feedback.
If a user disconnects, other participants in the session will receive a user-updated
event for that user with a payload containing isInFailover: true
.
If the disconnection lasts for a long time (about 2 minutes), a user-removed
event will be triggered, indicating that the user is no longer in the session.
Thanks
Vic
Use the “participantDisconnected” event in the Video SDK to detect when a party disconnects. You can trigger a notification to the other party by listening for this event. Check the SDK documentation for specific event handling details.
Thank you very much for your reply.
First of all, thank you very much for your reply. But I checked the docs and didn’t find the “participantDisconnected” event.
Check for the “participantLeft” or “userLeft” event instead, as it may be the correct one for detecting disconnections. Refer to the latest SDK documentation for accurate event names.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.