I am trying to implement a webrtc-based chat room. And I encountered the following problems in laptop. Without connecting to any other peer, just use getUserMedia(), I can g
Make sure that you are muting the local <video>
element if you have it in the DOM:
<video id="vid1" autoplay="true" muted="muted"></video>
See this post on the discuss-webrtc mailing list for more details and the WebRTC samples.
To resolve noise related issue, you should set autoplay=false for localstream.
Do the followings:
1) In localVideo do the this:
localVideo.volume = 0;
localVideo.muted = 0;
2) Do same for the remoteVideo also:
remoteVideo.volume = 0;
remoteVideo.muted = 0;