Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

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

搜尋 Mozilla 技術支援網站

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

了解更多

Firefox RTCDataChannels not connecting

  • 1 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 guigs

more options

I am trying to create a RTCDataChannel connection between Chrome and Firefox.

I have referenced the sample provided by Mozilla.

http://mozilla.github.io/webrtc-landing/data_test.html

The DataChannel was created before the createOffer method, but it isn't working in Firefox, but works fine in Chrome.

Chrome (offerer) DataChannel establishment with another Chrome (answerer) browser works. Chrome (offerer) DataChannel establishment with Firefox (answerer) does not work. Firefox (offerer) DataChannel establishment with another Firefox (answerer) browser does not work. Firefox (offerer) DataChannel establishment with Chrome (answerer) works.

Is there any kind of requirements in order for the Firefox DataChannel to work in Firefox?

GetUserMedia is called before creating the DataChannel.

PS: After much checking, I realised that the SDP does not have any m=application port or channel opened. What could be the problem?

Missing lines: m=application 58814 DTLS/SCTP 5000 c=IN IP4 118.189.54.34 a=sctpmap:5000 webrtc-datachannel 16

I am trying to create a RTCDataChannel connection between Chrome and Firefox. I have referenced the sample provided by Mozilla. http://mozilla.github.io/webrtc-landing/data_test.html The DataChannel was created before the createOffer method, but it isn't working in Firefox, but works fine in Chrome. Chrome (offerer) DataChannel establishment with another Chrome (answerer) browser works. Chrome (offerer) DataChannel establishment with Firefox (answerer) does not work. Firefox (offerer) DataChannel establishment with another Firefox (answerer) browser does not work. Firefox (offerer) DataChannel establishment with Chrome (answerer) works. Is there any kind of requirements in order for the Firefox DataChannel to work in Firefox? GetUserMedia is called before creating the DataChannel. PS: After much checking, I realised that the SDP does not have any m=application port or channel opened. What could be the problem? Missing lines: m=application 58814 DTLS/SCTP 5000 c=IN IP4 118.189.54.34 a=sctpmap:5000 webrtc-datachannel 16

由 lc-temasys 於 修改

所有回覆 (1)

more options

Firefox 27.0 is the version you are on. I believe this feature is in Nightly, version 32.