W3C home > Mailing lists > Public > public-media-capture@w3.org > June 2015

Re: DeviceID - reserved values, how to express? (#173)

From: Harald Alvestrand <harald@alvestrand.no>
Date: Mon, 15 Jun 2015 07:50:25 +0200
Message-ID: <557E67A1.1090903@alvestrand.no>
To: public-media-capture@w3.org
Den 13. juni 2015 09:49, skrev Harald Alvestrand:
> Den 12. juni 2015 19:34, skrev Martin Thomson:
>> On 12 June 2015 at 01:28, Harald Alvestrand <harald@alvestrand.no> wrote:
> 
>> On balance, I think that the right answer to this is to add a new
>> constraint that is driven by a new enumeration:
>>
>>     navigator.mediaDevices.getUserMedia({audio: {default: "communications"}})
>>
> 
> note that this assumes that getUserMedia can return output devices.
> 
> So this needs to be either:
> 
>   navigator.mediaDevices.getOutputMedia({audio: {default:
> "communications"}})
> 
> or
> 
>   navigator.mediaDevices.getUserMedia({audiooutput: {default:
> "communications"}})
> 
> (besides, I loathe the word "default" because it means too many things -
> what about "configured-as"?)
> 


on second thought, the bikeshed should be mauve; I think the right word
for this property, if it's a separate property, is "role".
Received on Monday, 15 June 2015 05:50:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:33 UTC