Sound echo problem in webrtc project

Job ID: 32918190

Budget: ₹1,500 – ₹12,500 INR

I have a simple html page and webrtc javascript using which i am able to broadcast my webcam to multiple users. I am suffering from a problem in it. After connection, system default speaker produces a lout screaming sound which is not there on connecting earphones. Can anybody help me out?
Related categories: JavaScript HTML5 HTML jQuery / Prototype WebRTC