[英]Kurento - WebRTC does not work on linux virtual machine azure server
I implement Kurento on my local, it works ok. 我在本地执行Kurento,效果很好。 When I deploy it on linux vm azure server, kurento does not work. 当我在linux vm azure服务器上部署它时,kurento无法正常工作。 I know that Kurento just works with UDP default, if want it works on TCP, I have to config turn server for kurento. 我知道Kurento只能在UDP默认情况下工作,如果要在TCP上工作,我必须为kurento配置turn服务器。 After config turn server of google for kurento, but it still does not work. 在配置后将谷歌的服务器转换为kurento,但它仍然无法正常工作。 And then i try to change Azure to UDP, but I just found down the guider for window vm, it is config on endpoint. 然后我尝试将Azure更改为UDP,但我只是找到了窗口vm的向导,它是端点上的配置。 Who knows how to resolve this problem, make kurento work on azure server, please give me your ideas. 谁知道如何解决此问题,使kurento在azure服务器上工作,请给我您的想法。
First off, Azure does not allow UDP traffic. 首先,Azure不允许UDP通信。
On TCP, since you get no error, it sems like the problem is with the network. 在TCP上,由于没有错误,因此就像网络出现问题一样。 Assuming that you are trying to tx/rx data from Azure to a server/client outside of Azure, make sure you create/map the proper ports from the Azure public IP endpoint to your VM. 假设您尝试将数据从Azure传输到Azure以外的服务器/客户端,请确保您创建/映射了从Azure公共IP终结点到VM的正确端口。 You can do this from the Azure portal. 您可以从Azure门户执行此操作。 Even if the port is open on the VM, you still need to map ports from the public IP to the VM; 即使该端口在VM上已打开,您仍需要将端口从公共IP映射到VM。 sort of like port forwarding in a home router. 有点像家用路由器中的端口转发。
I hope this helps! 我希望这有帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.