tom-james-watson / p2p.chat

p2p video conferencing powered by WebRTC.
MIT License
686 stars 134 forks source link

Unhandled Runtime Error #36

Open TheAS69 opened 2 years ago

TheAS69 commented 2 years ago

Hi, I'd like to elaborate the issues I've been dealing with.. First, I'm starting the server from signalling folder using npm run dev then also testing the same npm run dev command in www folder.. After that I tried to open localhost:3000, create a room, and everything works. The problem started to arise when I tried to use it from other device, specifically my phone because we definitely can't use localhost;3000 from phone (My phone and my pc connected by same lan btw) so I use my ip:3000 and it open. But I can't join the room because I get this error after I press the button to request permission. This is where thing get weird because basically when I open the web with localhost:3000 then press the request permission button, a dialog is gonna show up to ask us to give the permission, right? But if I use my ip:3000 then press request permission button, no dialog show up (Not just in my phone, but also the same PC where it works using localhost:3000) then this error warning show up.. If I close the warning I can see that no microphone or camera detected even when it does exist.. Is there a file with settings that requires the host must be a localhost somewhere in www folder err1 ?