我在Azure上的虚拟机(Ubuntu-14.04)上部署了kurento java教程。我能够成功地执行/测试教程1到教程3,但是教程4& Tutorial-5无效。在one2one呼叫期间,我无法接收对等媒体流。所需的UDP / TCP也已打开。
我已在WebRtcEndpoint.conf.ini
&中提供了所需的STUN配置。 kurento.conf.json
stunServerAddress=74.125.142.127
stunServerPort=19302
"stunServerAddress" : "74.125.142.127",
"stunServerPort" : 19302
我尝试过调试,但在日志中找不到任何错误。
Logs :
2015-12-19 11:35:28,919387 5451 [0x00007ff22dffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:52 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 1 UDP 1677721855 13.67.48.97 1040 typ srflx raddr 10.146.240.34 rport 59342","sdpMLineIndex":0,"sdpMid":"audio"},"source":"4847259d-b524-4e6f-9d04-edf79b6cd7f5_kurento.MediaPipeline/45185a24-52f0-4cee-a22b-d207a873a50f_kurento.WebRtcEndpoint","tags":[],"timestamp":"1450524928","type":"OnIceCandidate"},"object":"4847259d-b524-4e6f-9d04-edf79b6cd7f5_kurento.MediaPipeline/45185a24-52f0-4cee-a22b-d207a873a50f_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}}
-> 60129de0-44f3-4de9-abe7-8fc32d08a80e
2015-12-19 11:35:28,919680 5451 [0x00007ff22dffb700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:52 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 1 UDP 1677721855 13.67.48.97 1040 typ srflx raddr 10.146.240.34 rport 59342","sdpMLineIndex":1,"sdpMid":"video"},"source":"4847259d-b524-4e6f-9d04-edf79b6cd7f5_kurento.MediaPipeline/45185a24-52f0-4cee-a22b-d207a873a50f_kurento.WebRtcEndpoint","tags":[],"timestamp":"1450524928","type":"OnIceCandidate"},"object":"4847259d-b524-4e6f-9d04-edf79b6cd7f5_kurento.MediaPipeline/45185a24-52f0-4cee-a22b-d207a873a50f_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}}
-> 60129de0-44f3-4de9-abe7-8fc32d08a80e
2015-12-19 11:35:28,931921 5451 [0x00007ff2177fe700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:52 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 1 UDP 1677721855 13.67.48.97 1042 typ srflx raddr 10.146.240.34 rport 37000","sdpMLineIndex":0,"sdpMid":"audio"},"source":"4847259d-b524-4e6f-9d04-edf79b6cd7f5_kurento.MediaPipeline/2bced6d1-e7f8-49da-a37a-e98cf9ce9a5d_kurento.WebRtcEndpoint","tags":[],"timestamp":"1450524928","type":"OnIceCandidate"},"object":"4847259d-b524-4e6f-9d04-edf79b6cd7f5_kurento.MediaPipeline/2bced6d1-e7f8-49da-a37a-e98cf9ce9a5d_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}}
-> 60129de0-44f3-4de9-abe7-8fc32d08a80e
2015-12-19 11:35:28,932150 5451 [0x00007ff2177fe700] debug KurentoWebSocketEventHandler WebSocketEventHandler.cpp:52 sendEvent() Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 1 UDP 1677721855 13.67.48.97 1042 typ srflx raddr 10.146.240.34 rport 37000","sdpMLineIndex":1,"sdpMid":"video"},"source":"4847259d-b524-4e6f-9d04-edf79b6cd7f5_kurento.MediaPipeline/2bced6d1-e7f8-49da-a37a-e98cf9ce9a5d_kurento.WebRtcEndpoint","tags":[],"timestamp":"1450524928","type":"OnIceCandidate"},"object":"4847259d-b524-4e6f-9d04-edf79b6cd7f5_kurento.MediaPipeline/2bced6d1-e7f8-49da-a37a-e98cf9ce9a5d_kurento.WebRtcEndpoint","type":"OnIceCandidate"}}}
-> 60129de0-44f3-4de9-abe7-8fc32d08a80e
2015-12-19 11:35:43,950679 5451 [0x00007ff24a7fc700] info KurentoWebSocketTransport WebSocketTransport.cpp:257 keepAliveSessions() Keep alive 60129de0-44f3-4de9-abe7-8fc32d08a80e
2015-12-19 11:36:43,951659 5451 [0x00007ff24a7fc700] info KurentoWebSocketTransport WebSocketTransport.cpp:257 keepAliveSessions() Keep alive 60129de0-44f3-4de9-abe7-8fc32d08a80e
2015-12-19 11:37:43,948660 5451 [0x00007ff25451f700] debug KurentoMediaSet MediaSet.cpp:131 doGarbageCollection() Running garbage collector
2015-12-19 11:37:43,952370 5451 [0x00007ff24a7fc700] info KurentoWebSocketTransport WebSocketTransport.cpp:257 keepAliveSessions() Keep alive 60129de0-44f3-4de9-abe7-8fc32d08a80e
2015-12-19 11:38:43,952796 5451 [0x00007ff24a7fc700] info KurentoWebSocketTransport WebSocketTransport.cpp:257 keepAliveSessions() Keep alive 60129de0-44f3-4de9-abe7-8fc32d08a80e
答案 0 :(得分:2)
这已经交叉发布并在project's mailing list。
中得到了解答长话短说,似乎Azure只允许打开150个端口(根据海报提供的信息),因此需要配置Kurento以限制使用的端口范围。这可以通过修改文件/etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini