This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox RTCDataChannels not connecting

  • 1 reply
  • 1 has this problem
  • 2 views
  • Last reply by 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

Modified by lc-temasys

All Replies (1)

more options

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