2016-12-02 64 views
0

我已經在雲14.04上安裝了Kurento kms6,但我必須打開所有高編號的TCP端口才能使其在互聯網上工作(爲什麼它不使用UDP將是我想象中的一個不同的問題)。它只是產生主人候選人,而不是眩暈候選人。爲什麼我的Kurento kms6安裝不能生成srflx候選?

我/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini文件具有以下條目:

stunServerAddress=217.10.68.152 
stunServerPort=10000 

我檢查這個STUN服務器使用

https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ 

實際工作它產生了以下結果:

Time Component Type Foundation Protocol Address Port Priority 
0.002 1 host 1654867310 udp 192.168.0.15 53025 126 | 32542 | 255 
0.003 2 host 1654867310 udp 192.168.0.15 58843 126 | 32542 | 254 
0.103 1 host 740342174 tcp 192.168.0.15 9 90 | 32542 | 255 
0.103 2 host 740342174 tcp 192.168.0.15 9 90 | 32542 | 254 
0.167 1 srflx 2494774458 udp 24.68.32.13 53025 100 | 32542 | 255 
0.169 2 srflx 2494774458 udp 24.68.32.13 58843 100 | 32542 | 254 
0.169 Done 

的kurento日誌具有以下線,表明它沒有看到STUN服務器條目:

... 

2016-12-02 19:48:43,956958 29738 [0x00007f819592a8c0] debug KurentoLoadConfig   loadConfig.cpp:251 loadConfig() Effective loaded config: 

... 
     "WebRtcEndpoint": 
     { 
      "stunServerAddress": "217.10.68.152", 
      "stunServerPort": "10000", 
      "configPath": "\/etc\/kurento\/modules\/kurento" 
     }, 

... 

當我上演的電話,這裏是日誌中一組傳出消息候選人的:

2016-12-02 23:41:17,510623 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:1 1 UDP 2013266431 fe80::5400:ff:fe40:83d9 58273 typ host","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,510834 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:1 1 UDP 2013266431 fe80::5400:ff:fe40:83d9 58273 typ host","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,510983 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 1 TCP 1019217407 fe80::5400:ff:fe40:83d9 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,511116 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 1 TCP 1019217407 fe80::5400:ff:fe40:83d9 9 typ host tcptype active","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,511230 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:3 1 TCP 1015023103 fe80::5400:ff:fe40:83d9 54928 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,511366 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:3 1 TCP 1015023103 fe80::5400:ff:fe40:83d9 54928 typ host tcptype passive","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,511490 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:4 1 UDP 2013266431 2001:19f0:5c01:f2:5400:ff:fe40:83d9 52252 typ host","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,511609 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:4 1 UDP 2013266431 2001:19f0:5c01:f2:5400:ff:fe40:83d9 52252 typ host","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,511744 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:5 1 TCP 1019216383 2001:19f0:5c01:f2:5400:ff:fe40:83d9 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,511877 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:5 1 TCP 1019216383 2001:19f0:5c01:f2:5400:ff:fe40:83d9 9 typ host tcptype active","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,511990 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:6 1 TCP 1015022079 2001:19f0:5c01:f2:5400:ff:fe40:83d9 36476 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,512117 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:6 1 TCP 1015022079 2001:19f0:5c01:f2:5400:ff:fe40:83d9 36476 typ host tcptype passive","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,512255 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:7 1 UDP 2013266431 45.63.71.227 37948 typ host","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,512385 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:7 1 UDP 2013266431 45.63.71.227 37948 typ host","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,512510 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:8 1 TCP 1019216639 45.63.71.227 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,512622 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:8 1 TCP 1019216639 45.63.71.227 9 typ host tcptype active","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,512757 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:9 1 TCP 1015022335 45.63.71.227 52956 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,512902 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:9 1 TCP 1015022335 45.63.71.227 52956 typ host tcptype passive","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,513014 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:1 2 UDP 2013266430 fe80::5400:ff:fe40:83d9 41890 typ host","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,513139 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:1 2 UDP 2013266430 fe80::5400:ff:fe40:83d9 41890 typ host","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,513261 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 2 TCP 1019217406 fe80::5400:ff:fe40:83d9 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,513372 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 2 TCP 1019217406 fe80::5400:ff:fe40:83d9 9 typ host tcptype active","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,513496 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:3 2 TCP 1015023102 fe80::5400:ff:fe40:83d9 39536 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,513633 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:3 2 TCP 1015023102 fe80::5400:ff:fe40:83d9 39536 typ host tcptype passive","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,513750 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:4 2 UDP 2013266430 2001:19f0:5c01:f2:5400:ff:fe40:83d9 39416 typ host","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,513860 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:4 2 UDP 2013266430 2001:19f0:5c01:f2:5400:ff:fe40:83d9 39416 typ host","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,513971 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:5 2 TCP 1019216382 2001:19f0:5c01:f2:5400:ff:fe40:83d9 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,514078 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:5 2 TCP 1019216382 2001:19f0:5c01:f2:5400:ff:fe40:83d9 9 typ host tcptype active","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,514195 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:6 2 TCP 1015022078 2001:19f0:5c01:f2:5400:ff:fe40:83d9 40403 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,514307 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:6 2 TCP 1015022078 2001:19f0:5c01:f2:5400:ff:fe40:83d9 40403 typ host tcptype passive","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,514417 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:7 2 UDP 2013266430 45.63.71.227 32947 typ host","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,514530 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:7 2 UDP 2013266430 45.63.71.227 32947 typ host","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,514636 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:8 2 TCP 1019216638 45.63.71.227 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,514760 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:8 2 TCP 1019216638 45.63.71.227 9 typ host tcptype active","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,514895 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:9 2 TCP 1015022334 45.63.71.227 51971 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"audio"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 
2016-12-02 23:41:17,515022 31627 [0x00007fdbe9ffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:54 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:9 2 TCP 1015022334 45.63.71.227 51971 typ host tcptype passive","sdpMLineIndex":1,"sdpMid":"video"},"source":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","tags":[],"timestamp":"1480722077","type":"OnIceCandidate"},"object":"2dfd19fb-bbbd-4859-8183-3ce1b0a8f9db_kurento.MediaPipeline/b4b6451e-d40a-4e8a-b136-778190532877_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}} 

任何想法?

回答

1

使用不同的stun服務器,這看起來不起作用。使用此測試頁時請小心,因爲它已包含Sun服務器。我測試了你的stun服務器,刪除了默認的服務器,我沒有收到任何srflx候選人。

+0

我很小心。我的懷疑是,你沒有得到任何候選人,因爲你沒有按下「添加服務器」按鈕將你的條目添加到冰服務器列表。 這裏是兩張圖片的鏈接,這兩張圖片展示了只有冰服務器才生成候選冰。 http://imgur.com/a/jhMwC –

相關問題