W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > December 2019

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)

From: guidou via GitHub <sysbot+gh@w3.org>
Date: Mon, 09 Dec 2019 14:26:56 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-563262544-1575901615-sysbot+gh@w3.org>
> @alvestrand
> 
> > The only place in the specification set where capturing system audio output is referenced is in GetDisplayMedia.
> 
> Are you actually saying that
> 
> > `MediaDeviceKind` Enumeration description
> > `audiooutput` | Represents an audio output device; for example a pair of headphones.
> 
> does not mean capturing audio output on its face?
> 

Correct. It does not mean capturing audio output. It means playing audio, not capturing it.
Devices of audiooutput kind can be used with the setSinkId of media elements to set which audio device the element should use to play audio.

> How else is `"audiooutput"` and "Represents an audio output device; for example a pair of headphones" intended to be interpreted other than the capability to capture "audio output device" - "for example a pair of headphones"?
> 
See above.


> Are you conveying that, in your opinion, `"audiooutput"` and "headphones" is really intended to mean "Microphone" and audio input?

No. It means audio output, not input.

Note also that input devices (audioinput and videoinput) returned by enumerateDevices are of type InputDeviceInfo, whereas output devices (audiooutput) are not.

I propose we close this issue since getUserMedia() is not intended to capture audio from devices marked as audiooutput by enumerateDevices() and I think there is no doubt about it.

-- 
GitHub Notification of comment by guidou
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/650#issuecomment-563262544 using your GitHub account
Received on Monday, 9 December 2019 14:26:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:34 UTC