#need help getting the sender and the recever to connect on the server.js
3 messages · Page 1 of 1 (latest)
One of your issues is this
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getUserMedia
It's not supported at all on firefox, chrome the error is catched but same function.
It's replacement is
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
the sender and reciever ports were also diffrent on this repo.
The deprecated Navigator.getUserMedia() method prompts the user for permission to use up to one video input device (such as a camera or shared screen) and up to one audio input device (such as a microphone) as the source for a MediaStream.
This is sender.js with changes i have made. There is still issues, If you request video it will just error (no device) If you request just audio it works with a microphone.
The websocket server works fine, i haven't tested video/audio in a room.