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
-
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_UPDATED
is 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_UPDATED
is 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 A
joins the room (abc).User B
joins the same room.User A
turns off or physically unplugs his internet connection (WiFi/4G, etc.).Actual Behavior:
When the internet is disconnected on
User A's
side, the app tries to reconnect and notifiesUser A
which is perfect. Meanwhile,User B
is unaware of what is happening onUser A's
side, and it appears as ifUser A
is still onlineExpected Behaviour:
When the internet is disconnected on
User A's
side, the app should notifyUser B
about it. This is important becauseUser B
may continue speaking toUser A
, not realising that he is offline and trying to reconnect. The app should also display the reconnection status ofUser A
ONUser B's
side.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