Re: [Bug 25245] Specify "access" in the context of getMediaDevices

On 08/26/2014 07:53 PM, Jan-Ivar Bruaroey wrote:
> On 8/26/14 1:19 PM, Harald Alvestrand wrote:
>> On 08/26/2014 07:04 PM, bugzilla@jessica.w3.org wrote:
>>> https://www.w3.org/Bugs/Public/show_bug.cgi?id=25245
>>>
>>> --- Comment #9 from Jan-Ivar Bruaroey [:jib] <jib@mozilla.com> ---
>>> Are we supposed to take it on faith that there are use-cases that 
>>> require this
>>> feature?
>>>
>> Jan-Ivar, can you explain what you refer to by "this feature"?
>>
>> getMediaDevices (under its previoius name) is certainly being used, 
>> so I guess people find it useful.
>
> Sorry I should have included more context. The context is the 
> discussion in the bug in comments 2-7 [1].
>
> With "this feature" I mean the ability to enumerate any devices users 
> have without their explicit opt-in.

Jan-Ivar, the two cases we've been discussing are:

- Tell the difference between "zero, one and more" of a device class, 
and shape UI accordingly
- Tell if the device that was used the last time is still plugged in 
("persistence of preferences")

In both cases, doing this without actually asking the user to allow use 
of a camera/microphone (so calling getUserMedia is not an answer).

Neither is solvable with "current API minus this feature".

Both can be solved by other APIs too (of course), but both are also 
solved by the current API proposal.

>
> .: Jan-Ivar :.
>
> [1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=25245#c2
>

Received on Wednesday, 27 August 2014 15:24:40 UTC