Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

172
Views
Echo issue while sharing screen with audio using screenCaptureAPI(getDisplayMedia)

We are implementing sharing screen with audio using Screen Capture API(getDisplayMedia) by using JavaScript. To get the requested screen we passed the below constraints in getDisplayMedia(constraints),

constraints = {
    audio: {
        echoCancellation: true,
        echoCancellationType: 'browser',
        autoGainControl: true,
        noiseSuppression: true
    },
    video: true
};

then we shared promised stream via webRTC,

Let's consider A and B users are there, A is sharing the screen and screen got shared to B via webRTC then user B is getting ECHO issue(while talking to user A),

Note: if user A share specific tab/window screen then ECHO is not there at user B(while talking to user A)

We are using getDisplayMedia(constraints) like below,

if (navigator.mediaDevices.getDisplayMedia) {
       navigator.mediaDevices.getDisplayMedia(constraints).then(function (stream) { /*adding stream to webRTC and sharing to user B*/ }, function (error) { /*handling errors*/ });
} else {
       navigator.getDisplayMedia(constraints).then(function (stream) { /*adding stream to webRTC and sharing to user B*/ },function (error) { /*handling errors*/ });
}

Any help would be appreciated. Thanks.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!