RE: How to check if permission denied?



>getUserMedia provides an error callback.  There is, however, no error for "no device".  That needs to be fixed.

On surface it seems that this definitely needs fixing. But the original reason for no specific error code was AFAIK to avoid finger printing - the app should not be able to tell if there are devices available or not without the user consenting to this (and, sort of similar, the user should be able to fake a camera even if not having one by selecting a video file as source).

I don't know if finger printing is a valid reason any more for not having more specific error codes.

Received on Tuesday, 27 November 2012 17:49:44 UTC