TURN-Server for RTCConfiguration

◇◆丶佛笑我妖孽 提交于 2021-01-29 16:04:20

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!