M
M
magary42015-10-21 20:50:09
JavaScript
magary4, 2015-10-21 20:50:09

Problem with webRTC if in different networks?

I use this script for connection https://github.com/feross/simple-peer
I connect 3 devices, each opens two peers, i.e. each with each
when I run it on 3x I set up at home, then everything works like iron
if the devices are in different places territorially, then between one pair of peers the connection is ironically lost, I
tried to register this list of servers stackoverflow.com/questions/20068944/webrtc-stun-s ..
did not help, only it became longer what
could be the reason

Answer the question

In order to leave comments, you need to log in

2 answer(s)
@
@codingal, 2015-10-21
_

Peer connection is lost or not created at all, because they are different things?
Try Google's stun, and turn to register for yourself on viagenie.ca separately, and not from the list. If it is created and lost, then there seems to be no options other than to raise your stun and turn servers somewhere.

D
dtestyk, 2015-10-22
@dtestyk

try connecting browsers through peerjs to make sure the problem is with the network and not the library or node usage

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question