Yes, it possible to create data channels between Chrome and Firefox. There’s a bit of custom code required to achieve connectivity but it’s not too bad.
I recommend using a module that smooths over the differences and simplifies the WebRTC API. I wrote simple-peer for this purpose. You can take a look at index.js to see where there is custom logic to handle Chrome or Firefox quirks.
Another popular solution is adapter.js (created by Google), which attempts to smooth out the differences between browsers without making the API easier to user.
Read more here: Source link