為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

WebRTC Codelab not working on firefox beta and developers edition

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Dr.NO

more options

Neither codelab(https://bitbucket.org/webrtc/codelab) or my webrtc example(https://drive.google.com/folderview?id=0B-0S2tp3jVroVlZKMHNYdG5MUDQ&usp=drive_web) works on firefox beta or developers edition. In the console it gives ICE Error. But both of them works in chromium, chrome and firefox v31.0

Neither codelab(https://bitbucket.org/webrtc/codelab) or my webrtc example(https://drive.google.com/folderview?id=0B-0S2tp3jVroVlZKMHNYdG5MUDQ&usp=drive_web) works on firefox beta or developers edition. In the console it gives ICE Error. But both of them works in chromium, chrome and firefox v31.0

所有回覆 (2)

more options

Do you have the version of Beta that this was tested on? This will help identify where this stopped working, also have you opened up an issue with the codelab as well?

more options

The more recent versions of Firefox implement full trickle ICE. This means the offerer will get ICE candidates right after creating the offer. But on the answerer side Firefox will only allow you to add ICE candidates after setRemoteDescription() has been called. From briefly looking at the code in codelab and the Google Drive you provide I think both might either drop early ICE candidates completely or try to add them before setRemoteDescription was called. In both cases the connection most likely won't get established as ICE candidates will be missing.