![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Firefox RTCDataChannels not connecting
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)
Firefox 27.0 is the version you are on. I believe this feature is in Nightly, version 32.