Chrome - enable 'share audio' by default with navigator.mediaDevices.getDisplayMedia

324 views Asked by At

I want to capture tab audio with Chrome. I call

navigator.mediaDevices
      .getDisplayMedia({
        video: true,
        audio: true,
      })
      .then(stream => {...})

but the 'share audio' option is not ticked by default on the Chrome Share Screen. Is there a way to force the 'share audio' option from the client code ?

0

There are 0 answers