【发布时间】:2017-03-23 02:43:38
【问题描述】:
首先,如果标题与描述不符,请见谅。
在我们的组织中,我们正在研究封闭式 LTE 网络内的点对点视频通信解决方案。为此,我们使用开源 webrtc 客户端 peerjs 以及他们的本地 peerjs 服务器。服务器默认指的是google stun server。
1. Is stun server required in case of closed LTE network?
2. If yes, can we make use of a open source stun server which could run locally instead of the default one?
3. If no, what are the changes I would need to do?
我已经设置了一个开源 stun 服务器 [https://github.com/enobufs/stun],但未能与客户端进行进一步的连接。
我按照链接中提供的说明设置服务器。现在,我没有使用默认的 stun server ,而是放置了 'local-ip-address:port' 并尝试在对等方之间建立连接。但它不起作用。
var configuration = { "iceServers": [{ "urls": "local-ip-address:port" }] };
pc = new RTCPeerConnection(configuration);
我做错了吗? 请指导我。
提前致谢
【问题讨论】: