WebRTC Firefox to Chrome video call not working

3.4k views Asked by At

My WebRTC app works fine when I connect two of the same browsers, but when I try a combination neither respond to each others signaling messages. Something probably worth mentioning is that I have not implemented TURN, however I don't see why that should make a difference so I'm not going to change that unless I'm fairly certain it will.

I don't have much of a clue where the error lies, so I will just add code on request for the sake of readability.

3

There are 3 answers

1
tomtheengineer On BEST ANSWER

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.

1
Mikael Holmgren On

You have not really described what goes wrong with the signaling. No error messages and so on. But based on the fact that you only see the fault when using two different web browsers I would recommend using Adapter.js that have been somewhat promoted from webRTC.

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

Direct link to adapter.js

0
walv On

Try to turn off your firewalls to check if it fixes the problem. In my case (Windown 7), default windows firewall didn't allow UDP for Private Inbound Connection Setting and Firefox + Chrome p2p connection just didn't work.

Hope it helps.