-
Notifications
You must be signed in to change notification settings - Fork 160
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
Skip the two-second delay when ICETransportPolicy=ICETransportPolicyRelay #324
Comments
I've added this to the test:
and the timing is similar to the browser's. |
Let's say we add 0 wait times for all these, and now we got the relay candidate, so we nominate it and proceed with connection. |
This issue is about the case when The general case is interesting too, but it's a different issue. |
@jech Maybe fixing this in |
When looping back through a TURN relay, Chrome takes a few milliseconds to connect: https://github.com/jech/galene/blob/master/static/galene.js#L2307
The equivalent code on the server side takes 2 seconds: https://github.com/jech/galene/blob/master/ice/ice.go#L127
The reason for that is that the TURN delay is fixed to two seconds (
ice.defaultRelayAcceptanceMinWait
), and this delay is honoured even whenICETransportPolicy
is set to relay.The text was updated successfully, but these errors were encountered: