W3C home > Mailing lists > Public > public-media-capture@w3.org > February 2016

Query (not a bug): Device selection - should permissions matter?

From: Harald Alvestrand <harald@alvestrand.no>
Date: Tue, 16 Feb 2016 13:53:24 +0100
To: "public-media-capture@w3.org" <public-media-capture@w3.org>
Message-ID: <56C31BC4.8030908@alvestrand.no>
When thinking about how to make a more formal permission handling for
mediacapture-main, I wonder about how permission status should influence
selection.

Let's think about an UA with 3 attached cameras:

A has a "granted" permission
B has no permission, so will be prompted for if selected
C has permission "denied".

If I select with constraints that allow either to be selected, what
should happen?

Three possibilities I see:

1 - Spec says "disregard C, pick between A and B at UA's choice" (prompt
if you feel like it)
2 - Spec says "choose B; if that's unsuitable prompt for A" (prefer
permitted)
3 - Spec says "this is not a spec matter, UA will do what it wants" (no
guidance)

All of these can be written as normative requirements or "implementation
suggestions".

At the moment, the spec is roughly "1" (step 3 can be seen as skipping
"denied" devices).

What do people think?
Received on Tuesday, 16 February 2016 12:53:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 February 2016 12:53:56 UTC