Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Participant disconnect event is fired too late #80

Closed
matdennoigi opened this issue Mar 14, 2017 · 13 comments
Closed

Participant disconnect event is fired too late #80

matdennoigi opened this issue Mar 14, 2017 · 13 comments
Labels

Comments

@matdennoigi
Copy link

matdennoigi commented Mar 14, 2017

Hi guys,

We developed a video call app with Twilio. In a call, assume has 2 participants A & B. When device of A be crashed or lost network, after 1 minutes and 13 seconds later, Twilio (on A device) threw "B disconnect" event. How can I make it faster, because our service charge over call duration?

@idelgado idelgado added the bug label Mar 14, 2017
@idelgado
Copy link
Contributor

@matdennoigi We have an issue in our backend infrastructure at the moment, where a timer, that can last up to 120 seconds retains the instance of the participant. We are working through possible solutions to detect and reap participants on abrupt disconnections(crashes, lost network).

I'll update this ticket with the proposal we land on and with an ETA for a fix.

@matdennoigi
Copy link
Author

Thank so much! Hope it soon

@moksamedia
Copy link

Any update on this?

@aaalaniz
Copy link
Contributor

Hey @moksamedia

Unfortunately, we have no update on the underlying issue caused by the 120 second timer. However, we did release a new Participant REST API that allows developers to disconnect participants. If you have a way to detect a participant abruptly dropping (crash, etc) then you could boot that participant from the room using this new API in your backend service. This is not ideal, but it's somewhat of a workaround until we can resolve the timer issue on our backend.

Thanks!

@Puneet2412
Copy link

Any update on this?

@aaalaniz
Copy link
Contributor

aaalaniz commented Apr 3, 2018

Hey @Puneet2412

Unfortunately, there is no update on this issue.

@jitendra-kr
Copy link

is there any update

@MattBlack01
Copy link

any update on this?

@zackm0571
Copy link
Contributor

Hey @MattBlack01 @jimmylogic No update. With TCMP this issue will improved but we don’t have a timeline for that yet

@taher-mosbah
Copy link

Any ETA on a fix or a workaround please ?

@zackm0571
Copy link
Contributor

It's on our roadmap and we're actively working on this. I'll provide an update once it's available.

@Alton09 Alton09 mentioned this issue Sep 17, 2019
1 task
@aaalaniz
Copy link
Contributor

Hey everyone,

After some runtime with the Video Android 5.x betas, we have now released Video Android 5.0.0. This release contains the following features that relate directly to this issue:

  • Global Low Latency (GLL) signaling Servers.
  • Faster detection and recovery from connection failures.

In 5.0.0, the client and server use heartbeats to detect broken signaling connections within 15 seconds or less. If a failure is detected, the Participant then has up to 30 seconds to reconnect to the Room before being permanently disconnected. Additionally, the SDK's media monitoring logic has also been modified to disconnect in scenarios where recovery is unlikely. Looking out beyond GA, we would like to introduce a reconnecting state for the RemoteParticipant, and provide events regarding media interruptions for Tracks.

I am closing this issue for now, but we are happy to address any follow up questions and comments.

@RapidoBots
Copy link

Has this issue resolved in the latest 2.0.0 version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants