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

Robustness in case of connection loss for a host with multiple connections #1270

Closed
alexswerner opened this issue Oct 14, 2024 · 2 comments
Closed

Comments

@alexswerner
Copy link

Hi,

Thanks again for this amazing work! I am wondering what would be the best way to minimize or eliminate the interruption when a network connection goes down. Consider the scenario of a mobile phone connected via Wi-Fi and 5G, one of these will be selected when the WebRTC peerconnection is established from the list of candidates. Now what happens if this connection is lost? Ideally the other connection should take over. As far as I understand the WebRTC spec, this requires first detection the lost connection and then renegotiation the session. Is that correct? How can I minimize the interruption when using libdatachannel?

Thanks!

@paullouisageneau
Copy link
Owner

libdatachannel does not support ICE restart for now as it is missing from libjuice (see paullouisageneau/libjuice#130), which would reduce interruption duration. Therefore, the solution right now is to detect the lost connection and reconnect.

@alexswerner
Copy link
Author

Thanks for the reply @paullouisageneau ! We'll go this route.

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

No branches or pull requests

2 participants