fireship-io / webrtc-firebase-demo

Video Chat with WebRTC and Firebase
504 stars 307 forks source link

There is echo #16

Open odats opened 1 year ago

odats commented 1 year ago

I run the code and hear an echo.

The following code does not fix it:

const pc = new RTCPeerConnection(servers);
pc.setConfiguration({echoCancellation: true});
pc.setConfiguration({noiseSuppression: true, autoGainControl: true});
PhilippeArtean commented 3 months ago

adding "muted" to the html video element seems to fix it