Re: How to check if permission denied?

On 2012-12-07 19:59, Stefan Hakansson LK wrote:
> 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.

What Stefan says here is exactly my thinking around non-device media and 
getUserMedia().

/Adam

> 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 Monday, 10 December 2012 07:08:14 UTC