Electron Desktop Capturer audio not working on Windows

38 Views Asked by At

I can get the navigator.mediaDevices.getUserMedia(constraints); to work with audio set to false, but as soon as I add audio as follows:

constraints.audio = {
                mandatory: {
                    chromeMediaSource: 'desktop'
                }
            }

then I get a DOMexception: Audio could not be started

Is there a solution to capture the audio along with the video. All issues I found so far states that this solution works on Windows but not Ubuntu, but I find that this does not work on Windows as well

0

There are 0 best solutions below