Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

171
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda