1

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.

  • I still have this exact problem. Chrome can't see video from Firefox, but Firefox does see video from Chrome. No errors, all callbacks fired, handshake process done all the way, but no video at the end, for 1 party. – Rudie Dec 30 '15 at 15:12

3 Answers3

2

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.

Dan Sandland
  • 7,095
  • 2
  • 29
  • 29
tomtheengineer
  • 4,127
  • 1
  • 17
  • 15
0

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

Mikael Holmgren
  • 2,466
  • 1
  • 18
  • 27
  • I have already added adapter.js and seeing that it works fine when I connect to Firefox browsers, I don't think that could be the problem. –  Aug 26 '13 at 20:03
0

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.

walv
  • 2,680
  • 3
  • 31
  • 36