DEV Community

Discussion on: Ionic video call by peerjs

Collapse
 
eestebanjjosue profile image
eestebanjjosue • Edited

Hi, thanks for this awesome tutorial, I could make a basic videocall app, but I am facing a problem, in my phone when I make it an app the camera does not work, I can see the camera and audio in the other device(my pc). Sometimes I get an error "getUserMedia error: NotReadableError". Ant idea what could be wrong? If I use my android device as a second device and I connect to the app throug LAN it works.
P.D. The sound gets returned from the speakers of the pc so it makes that awful sound if I am not wearing headphones. Is there a way to fix this too?

Collapse
 
timsar2 profile image
timsar2

If you have two htmlElemeny, one for your camera and another for your partner, you can disable input audio from partner element.
stackoverflow.com/questions/184061...

Collapse
 
timsar2 profile image
timsar2

Thank you, You can mute your video media output.