W3C home > Mailing lists > Public > public-media-capture@w3.org > December 2012

Re: How to check if permission denied?

From: Stefan Hakansson LK <stefan.lk.hakansson@ericsson.com>
Date: Fri, 7 Dec 2012 19:59:26 +0100
Message-ID: <50C23C8E.3030809@ericsson.com>
To: public-media-capture@w3.org
On 12/07/2012 07:00 PM, Martin Thomson wrote:
> On 6 December 2012 22:44, Adam Bergkvist <adam.bergkvist@ericsson.com> wrote:
>> Could we have a solution where the selector UI is always shown even though
>> no "real" devices met the mandatory constraints? In that case you could
>> still select a file to emulate, e.g., a camera.
>
> A few reasons that I don't like this idea:
>   - getUserMedia is not the right API for non-device sources of media

That perfectly right - there are separate APIs for selecting e.g. Files 
resident on the user's computer, and we should use those for cases when 
the _app_ would prefer a file as a source rather than a real device.

But as Tim pointed out, this is not about selecting non-device sources 
primarily, it is about giving power to the user to select a file instead 
of a camera as source for e.g. privacy reasons. The thinking originally 
was that the app would not know if the source was a file or a real 
camera (I don't know if that is realistic given that a file can't zoom 
etc., and perhaps all cameras can.

This has been in the draft since the beginning; I do not really know the 
importance of this (though I have sympathy for giving more power to the 
user).
Received on Friday, 7 December 2012 18:59:52 UTC

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