Replies: 1 comment 2 replies
-
The ICE protocol requires that every ICE server is reached in parallel during connection establishment, therefore you can't try them one after another. The library picks one STUN server randomly only because the underlying libraries libjuice and libnice currently accept only one STUN server but multiple TURN servers. Multiple ICE servers should not be used for redundancy. If you want redundancy, you should implement it on user side as you would for Websockets or HTTP requests. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use a list of STUN servers where the library tries the first server and only uses the second one if it can't contact the first one. If I understood the code / behavior correctly currently it shuffles the list of STUN servers and this it's random which one it takes.
Any thoughts on my idea? Would that be a change that makes also sense for others?
Beta Was this translation helpful? Give feedback.
All reactions