所以我遇到的問題是WebSocket連接在我的KurentoMediaServer上工作,但沒有數據正在傳輸(空的遠程URL)。我知道這是因爲我的KurentoMediaServer運行在NAT(谷歌計算服務器)後面,但我使用的STUN/TURN服務器似乎沒有工作。STUN/TURN服務器的Kurento問題
這是我WebRtcEndpoint.conf.ini是什麼樣子:
; Only IP address are supported, not domain names for addresses
; You have to find a valid stun server. You can check if it works
; using this tool:
; http://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
stunServerAddress=173.194.66.127
stunServerPort=19302
; turnURL gives the necessary info to configure TURN for WebRTC.
; 'address' must be an IP (not a domain).
; 'transport' is optional (UDP by default).
turnURL=test%40gmail.com:[email protected]:3478
我已經測試了這個臨時打開我的所有端口,看看是否真的是問題,但事實並非如此。另外測試%40gmail.com是我的麻木TURN註冊用戶名,testpassword是我的密碼。
我還應該提一下,我有我的KurentoMediaServer和應用程序(java服務器)運行在同一個NAT後面,但我的網頁運行在單獨的網絡上。有什麼我需要做的Kurento-Utils.js爲了讓我的網頁從我的應用程序和kurento媒體服務器運行一個單獨的NAT?
這有什麼更新?它解決了嗎? – igracia