我正在关注Licode page上的指南
我已经在Ubuntu 14.04上安装了所有的东西。
我已经在licode_config.js文件中为licode和erizo控制器配置了ssl,以使示例正常工作。在其他配置中,我只是保持它们不联系。
我已经运行了基本示例,但无法进行视频会议。
追踪google chrome控制台日志,我捕获到:
WARNING: Publishing Stream 665544631310986500 has failed after successful ICE checks
DEBUG: Event: stream-failed
Stream Failed, act accordingly
DEBUG: Received a removeStream for 665544631310986500 and it has not been registered here, ignoring.
INFO: Stream unpublished看起来我必须在licode的配置中配置STUN或其他东西才能使其正常工作。
发布于 2017-03-08 21:40:52
我想说“谢谢你!”,我在licode_config.js中设置了下面的代码
设置libnice要使用的端口范围:
config.erizo.minport=30000
config.erizo.maxport=31000设置服务器公网IP
config.erizoController.publicIP=serverPublicIP
config.erizoAgent.publicIP=serverPublicIP更改默认的stun服务器,因为stun.google在朝鲜、伊朗等国家被隔离。
我的licode在docker中运行,具有从服务器到docker容器的端口映射,范围为30000-31000,因此必须确保libnice端口属于该范围。
发布于 2016-12-12 17:50:48
在阅读了Licode网站和他们的社区上的几篇文章后。我发现,问题只是因为我的服务器是Azure VPS -而不是本地计算机。它有公网IP和内网IP,所以我必须将config.erizoController.publicIP,config.erizoAgent.publicIP设置为服务器的公网IP。
另外,Azure vps默认关闭所有端口(除了我已经打开的一些端口)。因此,我必须打开合适的端口范围,并在licode_config.js文件中设置config.erizo.minport、config.erizo.maxport。我使用的端口范围: 30000-31000。
有价值的参考:http://discourse.lynckia.com/t/running-licode-in-azure/29
https://stackoverflow.com/questions/41074674
复制相似问题