WebRTC Firefox video call for Chrome does not work

My WebRTC works great when I connect two identical browsers, but when I try to make a combination, do not reply to messages about other messages. Something might be worth mentioning that I did not implement TURN, but I do not understand why this should matter, so I am not going to change this if I'm not sure what it will be.

I don’t quite understand where the error is, so I’ll just add the code on demand for readability.

+1
webrtc
source share
3 answers

Make sure you enable DTLS-SRTP (Firefox only supports DTLS-SRTP) by passing the following to the PeerConnection constructor:

{ 'optional': [{'DtlsSrtpKeyAgreement': 'true'}]} 

See this page for more details.

+2
source share

You really have not described what is wrong with the signals. No error messages, etc. But based on the fact that you only see an error when using two different web browsers, I would recommend using Adapter.js, which were somewhat advanced with webRTC.

Link to a webRTC demo that shows compatibility using Adapter.js (the page also contains a link to Adapter.js): http://www.webrtc.org/demo

Direct link to adapter.js

0
source share

Try disabling firewalls to see if they fix the problem. In my case (Windown 7), the Windows firewall did not allow UDP to configure a private inbound connection by default, and the p2p connection for Firefox + Chrome simply did not work.

Hope this helps.

0
source share

All Articles