webrtc 连接问题



STUN server 能解决  80% 的网络  nat 问题;

剩余的部分可能需要   TURN servers, TURN server  提供流数据的中转, 从而保证p2p  的通讯;   因为某些  知名端口  被禁止,  才采用TURN server中转音视频数据;  TURN server  使用  标准的  HTTP port 80 and port 443

移动网络, 大部分使用  TURN server;


有时需要网络管理员帮助打开   连接 node.js  server  的端口地址;

UDP port 3478 to turn.talky.io




Connection issues

Talky attempts to establish direct connections between two browsers. Sometimes, this does not work. That is probably the reason you are reading this.

Routers

Routers are very common in private residences and small companies. However, they typically prevent your computer from knowing its public address and without knowing this it can not tell your peer where to send the data.

We provide a STUN server so that your browser can tell your peer its public IP address. This is sufficient to establish a connection about 80% of the time.

There are certain types of routers where this does not work. They need a little help from an external server (called a TURN server) to relay the voice and video data. We provide such a server so that more Talky calls will go through.

On mobile networks, such a TURN server is required almost all the time.

Note: Even if audio and video data passes our TURN servers, we cannot decrypt it. See our privacy policy for details.

Firewalls

Enterprises often use firewalls to protect computers in their network. Sometimes, it is possible to work around such firewalls. For this purpose, we provide TURN relay server running on the standard HTTP port 80 and port 443.

If everything else fails, you can ask your system administrator to open the UDP port 3478 to turn.talky.io. But we do everything possible to avoid that.


你可能感兴趣的:(WebRTC)