How to detect participant disconnection or leaving from room #6254 #6330
Unanswered
FarhodKurbonov
asked this question in
FAQs
Replies: 1 comment
-
|
Hi @FarhodKurbonov, You are right. In the current implementation, it tooks 10 seconds for server to understand someone's connection is lost. ant-media/conference-call-application#253 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Ant Media Team, we have started implementation of reconnection across all our platforms (Android, iOS, Web) following @mustafaboleken suggestion from here. The way how of
TRACK_LIST_UPDATEDis being triggered not meeting user expectation. We tested your implementation using the official GitHub repository for the Ant Media Video Conferencing application, both locally and on your deployed Circle App.We reviewed the AntMedia.js file in the Circle App and noticed that when a participant's internet connection is dropped, the server waits for him (does not close the websocket connection and session). However,
TRACK_LIST_UPDATEDis not triggered on the side of other participants. It only triggers when a client app (the one who has been having trouble with reconnection) drops the connection (closes a web browser tab or kills the app), which is predictable. In this scenario, the server closes the websocket connection and session with the room participant and triggersTRACK_LIST_UPDATED.Is there any way for server to notify room participants about those ones who lost connection and tries to get connected?
Here's Steps to reproduce:
User Ajoins the room (abc).User Bjoins the same room.User Aturns off or physically unplugs his internet connection (WiFi/4G, etc.).Actual Behavior:
When the internet is disconnected on
User A'sside, the app tries to reconnect and notifiesUser Awhich is perfect. Meanwhile,User Bis unaware of what is happening onUser A'sside, and it appears as ifUser Ais still onlineExpected Behaviour:
When the internet is disconnected on
User A'sside, the app should notifyUser Babout it. This is important becauseUser Bmay continue speaking toUser A, not realising that he is offline and trying to reconnect. The app should also display the reconnection status ofUser AONUser B'sside.Additional Info:
Server Version 2.8.2 Enterprise
Tested version of Circle App: 2.8.2 and the version officially deployed on meet.antmedia.io.
Beta Was this translation helpful? Give feedback.
All reactions