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

Re: Filtering of enumerateDevices() results

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Wed, 20 May 2015 22:53:04 -0400
Message-ID: <555D4890.9070202@mozilla.com>
To: Joe Berkovitz <joe@noteflight.com>, Harald Alvestrand <harald@alvestrand.no>
CC: public-media-capture@w3.org, Stefan HÃ¥kansson <stefan.lk.hakansson@ericsson.com>, Audio Working Group <public-audio@w3.org>
On 5/19/15 10:29 AM, Joe Berkovitz wrote:
> 2. How would the WG feel about including more "filtered" information 
> in the MediaDeviceInfos returned by enumerateDevices(), other than the 
> device label

I'm going to take a stab at guessing that the original intent with 
'label' was for web-devs to look up the info they care about themselves.

E.g. label == " Logitech HD Pro Webcam C920" -> look in table of what I 
care about scraped from 

I.e. an end-run around workgroups and browsers having to formalize every 
spec sheet known to humankind.

I should say I see evidence this isn't always working so well, e.g. 
android phones seem to give nonsense labels like "Camera front", and I 
see a lot of microphones called "Built-in microphone" or "".

How about a compromise like 'modelNumber', or maybe come up with better 
rules for label?

Also from a practical standpoint, not every platform is chock full of 
info here. OSX for example seems surprisingly tight-lipped about its 

.: Jan-Ivar :.
Received on Thursday, 21 May 2015 02:53:35 UTC

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