peers / peerjs

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

Live example is not working #772

Open erencan opened 3 years ago

erencan commented 3 years ago

The example given is not working. Nothing happens when we try to connect from two different computers. But it works on the same computer when we try it by opening 2 new tabs.

Live Example: https://glitch.com/~peerjs-video

edmund5 commented 3 years ago

I think it will only work if both computer is connected on the same connection.

ubershmekel commented 3 years ago

I opened two tabs on the same computer and it still didn't work.

edmund5 commented 3 years ago

I opened two tabs on the same computer and it still didn't work.

Uhm, make sure peerjs is running.

pouyapanahandeh commented 3 years ago

I also have the same problem, did you manage to solve the problem?

edmund5 commented 3 years ago

How about if we use STUN/TURN server?

Mohammed-Aman-Khan commented 3 years ago

The example given is not working. Nothing happens when we try to connect from two different computers. But it works on the same computer when we try it by opening 2 new tabs.

Live Example: https://glitch.com/~peerjs-video

I have the exact same issue. I work at Fyxonize Solutions. I am developing a solution for one of our clients, that is an Online Examination Proctoring App. I have used MERN stack. When I test the Examination Room (video call - not exactly peer to peer, all student peers to one professor peer), it works on 2 different tabs/browsers in localhost, but does not work if I use multiple devices. This is a large scale solution targeting thousands of users currently, hence I require help as soon as possible. Any help regarding this problem will be appreciated. Thank You in advance.