Simple-peer: Connection doesn't establish with Opera

Created on 20 Mar 2020  路  2Comments  路  Source: feross/simple-peer

SimplePeer works great in Chrome and Firefox but it doesn't with Opera browser, even if I try establish connection Opera <-> Opera.

Quick code snippet to reproduce bug: https://jsfiddle.net/qm876yjo/

If I add MediaStream to peer 1, the "stream" event is emitted in peer 2, but the connection
is not created. I mean 'connect' event is not emitted either in peer1 and in peer2 and stream is 'empty'

OS: Windows 10 64-bit
Opera: 67 Stable

question

Most helpful comment

It works !
I had to change my browser settings under Settings > advance > privacy & security > WebRtC
image
to "Use any suitable network interface".

Thanks

All 2 comments

Does it work with plain WebRTC API? Simple-peer is just a library on top and there shouldn't be anything that it does that would cause issues.
Also make sure to try with extensions disabled, they may interfere with WebRTC sometimes.

It works !
I had to change my browser settings under Settings > advance > privacy & security > WebRtC
image
to "Use any suitable network interface".

Thanks

Was this page helpful?
0 / 5 - 0 ratings