westonsoftware / vue-webrtc

WebRTC video component for Vue.js
MIT License
365 stars 127 forks source link

Server error? cannot connect to peer #121

Closed bestian closed 1 year ago

bestian commented 1 year ago

Describe the bug I'm using the demo site: https://westonsoftware.github.io/vue-webrtc/

but when I joined with two different divice into same room in same time, both can't see the other

To Reproduce Steps to reproduce the behavior:

  1. Go to 'DEMO' with two different divice into same room in same time
  2. Click on 'JOIN'
  3. See error

Expected behavior They shoud see each other

Desktop (please complete the following information):

Smartphone (please complete the following information):

bestian commented 1 year ago

console logged: Error connecting to peer

westonsoftware commented 1 year ago

Hi, for WebRTC connection issues like this you can run on the same network, or setup STUN and TURN servers.

bestian commented 1 year ago

thank you