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

Investigate connection issue #1

Open
codec-abc opened this issue Jun 2, 2020 · 0 comments
Open

Investigate connection issue #1

codec-abc opened this issue Jun 2, 2020 · 0 comments

Comments

@codec-abc
Copy link
Owner

codec-abc commented Jun 2, 2020

Sometimes the connection can't be establish while it should even without TURN server

It might be due to some ISP blocking packets and being late to realizing it. One solution could be to recreate the same offer and answer and redoing ice connection. I need to make sure they are exactly the same otherwise without signaling the ports will change each time and the peers won't find a valid connection. That might not even be possible. I need to check this out.

Otherwise another solution could be to:

catch exceptions thrown by the send method and restarting the whole handshake from scratch. It seemed to be a pretty robust solution.

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

1 participant