W3C home > Mailing lists > Public > public-media-capture@w3.org > October 2013

Re: [Bug 23263] Add output device enumeration to GetSources

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Mon, 21 Oct 2013 07:16:58 +0200
Message-ID: <5264B8CA.6060908@ericsson.com>
To: Harald Alvestrand <harald@alvestrand.no>, Martin Thomson <martin.thomson@gmail.com>
CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 2013-10-21 07:12, Harald Alvestrand wrote:
> On 10/21/2013 07:05 AM, Adam Bergkvist wrote:
>> On 2013-10-19 21:42, Martin Thomson wrote:
>>> On 18 October 2013 21:57, Harald Alvestrand <harald@alvestrand.no>
>>> wrote:
>>>> the only argument I can think of in favour of using "kind" to indicate
>>>> audioOut is that it doesn't trip up code that is only looking at the
>>>> "kind" field.
>>>
>>> It's a good argument.  You could also change "audio" to "audioIn" if
>>> you feel that symmetry is necessary.
>>>
>>
>> For some reason I don't think camel case looks that nice in string
>> literals. I suggested "audio-output" and "audio-input" in an earlier
>> mail.
> Given that most of the API uses camelCase or CamelCase, I find dashes
> jarring.
>

There should really be some web platform API guide-lines regarding this 
to make it consistent.

/Adam
Received on Monday, 21 October 2013 05:17:20 UTC

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