0

Azure の仮想マシン (Ubuntu-14.04) に kurento Java チュートリアルをデプロイしました。チュートリアル 1 からチュートリアル 3 までは正常に実行/テストできましたが、チュートリアル 4 とチュートリアル 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
4

1 に答える 1

2

これはクロスポストされ、プロジェクトのメーリング リストで回答されています。

簡単に言えば、Azure では 150 個のポートしか開くことができないようです (ポスターによって提供された情報によると)。そのため、使用するポートの範囲を制限するように Kurento を構成する必要があります。これは、ファイルの内容を変更することで実現できます/etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini

于 2015-12-23T14:19:12.993 に答える