peers / peerjs

Simple peer-to-peer with WebRTC.
https://peerjs.com
MIT License
12.49k stars 1.43k forks source link

Remote Connection Issue #1274

Open Ravindu007 opened 6 months ago

Ravindu007 commented 6 months ago

Please, check for existing issues to avoid duplicates.

What happened?

I have created a WebRTC application and created my own peer server as well. Web application is now deployed. For the peer connection configuration I have not setup any ice candidates, went with the defaults.
My problem is with some users the application is just working fine and for some users, they cannot access other peers stream. is this happen due to using default STUN TURN Servers provided by peer js. Is there any where to overcome this challenge? Thank you.

below is the peer connection console log contains the information on STUN and TURN server. image

How can we reproduce the issue?

Try to make a connection using PeerJS

What do you expected to happen?

Application working fine with every users. Not for some of them.

Environment setup

Is this a regression?

No response

Anything else?

No response