Re: [mediacapture-main] Clarify getUserMedia({audio:{deviceId:{exact:<audiooutput_device>}}}) in this specification mandates capability to capture of audio output device - not exclusively microphone input device (#650)

As explained in as well as in comments here, the model in this spec is source->sink, and the Firefox's "Monitor of" device is an `"audioinput"`, a source.

In contrast, `"audiooutput"` is a sink and is enumerated for use with `setSinkId`, not `getUserMedia`. Mandating the latter would be a mistake, as it would effectively prevent a browser from exposing an output device it does not also support capture of. The existing spec model doesn't have that problem, nor does it prevent such cases.

> The use case is very simple: capture audio output of speechSythesis.speak() which outputs audio directly from the system

If the desire is to get at the output of speechSynthesis, please take that up with the working group responsible for speechSynthesis directly. Solving that here would be a hack in my view.

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at using your GitHub account

Received on Saturday, 21 December 2019 17:48:22 UTC