我該怎麼辦:KMS遠程在AWS Ubuntu的實例流問題
1.I在我的本地機器上安裝了KurentoMediaServer使用鏈接 http://doc-kurento.readthedocs.org/en/stable/installation_guide.html並開始KurentoMedia服務器
sudo service kurento-media-server-6.0 start
2。然後從github鏈接https://github.com/Kurento/kurento-tutorial-js和hello world文件夾下載Kurento-tutorial-js,使用命令啓動http服務器
bower install
http-server
3.從瀏覽器,我裝的鏈接
http://localhost:8080/index.html?ws_uri=ws://127.0.0.1:8888/kurento
無論是本地流和行之有效安裝
4,我的KMS和HTTP服務器遠程流AWS Ubuntu 14.04
5.現在當我在瀏覽器中加載頁面時
http://*serverip*:8080/index.html?ws_uri=ws://*serverip*:8888/kurento
只有本地流工作,但遠程流無法正常工作
6.當我檢查了日誌中沒有錯誤,但請求命中服務器。
我想更改服務器端配置中的任何內容嗎? 如何解決這個問題?
編輯我曾嘗試:
Kurento.Conf.json文件
"WebRtcEndpoint" : {
"stunServerAddress" : "173.194.66.127",
"stunServerPort" : 19302
}
WebRtcEndpoint.conf.ini文件:
取消註釋以下行
stunServerAddress=173.194.66.127
stunServerPort=19302
感謝回覆@igracia, 我跟着基於上述鏈接的KMS STUN配置,我在** WebRtcEndpoint.config.ini **中添加了Stun ip地址和端口,它不起作用。還對** kurento.conf.json **進行了更改,但結果相同。遠程流不工作。我需要做些什麼來解決這個問題? –
你能編輯你的文章,指明你如何編輯你的配置文件嗎? – santoscadenas
@santoscadenas,我已經更新了上面的問題,請檢查並回復。 –