Kurento:当用户位于不同网络上时,没有远程视频和音频

问题描述

我有使用Kurento进行一对一呼叫的应用程序,但是当用户位于不同网络上时,它无法正常工作。我已经安装并配置了TURN服务器(coturn)。

WebRtcEndpoint.conf.ini

turnURL=usr:pass@publicip:3478

turnserver.conf

fingerprint
lt-cred-mech
user=usr:pass
realm=kurento.org

kurento.conf.json

{
  "mediaServer": {
    "resources": {
        //"//": "Resources usage limit for raising an exception when an object creation is attempted",//"//exceptionLimit": "0.8",//"//": "Resources usage limit for killing the server when no objects are alive",//"//killLimit": "0.7",//"//": "Garbage collector period in seconds","garbageCollectorPeriod": 240
        //"//": "Whether to disable the RPC request cache,for memory constrained environments",//"disableRequestCache": false
    },"net": {
      "websocket": {
        //"//ipv6": false,"port": 8888,//"//secure": {
        //    "//port": 8433,//    "//certificate": "defaultCertificate.pem",//    "//password": ""
        //},//"//registrar": {
        //    "//address": "ws://localhost:9090",//    "//localAddress": "localhost"
        //},//"//": "Maximum queue length of pending connections (see sysctl tcp_max_syn_backlog)",//"//": "Default SOMAXCONN (128)",//"//connqueue": 128,"path": "kurento","threads": 10
      }
    }
  }
}

kms版本-6.13.0

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)