Re: [mediacapture-screen-share] Capturing audio-only (#100)

@henbos 

> or if the implementation/platform does not support audio capture

> audio is a lot more technical and its availability to some extent platform-dependent

Where the architecture _does_ support capturing system wide audio output does the language MAY at

> In the case of audio, the user agent _MAY_ present the end-user with audio sources to share. Which choices are available to choose from is up to the user agent, and the audio source(s) are not necessarily the same as the video source(s). An audio source may be a particular application, window, browser, the entire system audio or any combination thereof. 

signal to implementers to not expose the device that captures system-wide or specific audio devices?

In the case of *nix, PulseAudio _does_ provide a means to capture system-wide audio, however, Chromium does not expose that device at either `getUserMedia()` or `getDisplayMedia()` prompts or `enumerateDevices()`. The only workaround that have been able to use to set the device to be captured to "Monitor of <device>" is to manually change the device is recording a `MediaStream` with `MediaRecorder` and _during_ the recording changing the output device at sound settings GUI, which results in `getUserMedia()` setting the device captured to the user selected device at system GUI for all subsequent calls, which is the expected result, here, though there is no way to change the setting using an API in the browser at Chromium, in brief see https://github.com/web-platform-tests/wpt/issues/23084.

Thus, the question is does a separate issue and PR need to be filed for the MAY language, which if an issue is filed at Chrome bug tracker, could Chromium authors simply say: The specification says "MAY", therefore we do no have to implement audio _output_ capture for `getDisplayMedia()`, as that is optional, and even though possible at *nix, we have decided to _not_ implement that part of the API, as it is not required by the specification?

-- 
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/100#issuecomment-626197169 using your GitHub account

Received on Saturday, 9 May 2020 15:59:57 UTC