问题
I'm wondering if it is possible to establish a WebRTC connection between two clients that have different turn servers configured. Does the specification state if the configuration has to be identical? What happens when they both specify different servers? Will they choose random or is the connection impossible?
回答1:
The configurations don't have to be identical. If both Peers require a relay connection the TURN servers will communicate directly to each other (via their allocation ports)
If you do end up using the same TURN server make sure you handle hairpinning properly!
来源:https://stackoverflow.com/questions/60820669/turn-server-for-rtcconfiguration