Re: [Bug 22593] Capabilities are buggy

(continuing actual discussion on list, since it clutters up bugzilla)

On 04/03/2014 11:14 AM, bugzilla@jessica.w3.org wrote:
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=22593
>
> --- Comment #4 from Dominique Hazael-Massieux <dom@w3.org> ---
> Makes sense; so that leaves the question of the meaningfulness of having an
> array of values for facingMode in capabilities.
>
> In particular, the example in 11.3 has:
>    facingMode": ["user", "environment"]
> which doesn't make sense to me; it may be that there is some (obsolete?)
> ambiguity about whether capabilities are at the UA level (which the text in
> 11.3 seems to imply) or at the source level.
>
No, I think you're misreading the semantics here.
This will match all devices that have facingMode either user or environment.
Each camera can only have a single value for facingMode, but it makes
perfect sense to say that multiple values for facingMode are acceptable.

A more realistic example would probably be ["user", "left", "right"] -
as in "give me any camera that faces in the direction of the user, and
not the opposite way".

We don't have a "not" operator in the capabilities (either the previous
or the current proposal).

So can I close this bug as "fixed"?

-- 
Surveillance is pervasive. Go Dark.

Received on Thursday, 3 April 2014 09:21:46 UTC