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

Re: How to check if permission denied?

From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 27 Nov 2012 08:59:46 -0800
Message-ID: <CABkgnnXS38NBFm2Yj8Qi_rEhsJG5Sgiyjv227B-B_Vn8hcZCuA@mail.gmail.com>
To: jonathan chetwynd <jay@peepo.com>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
getUserMedia provides an error callback.  There is, however, no error
for "no device".  That needs to be fixed.

It also seems appropriate to change to using strings for errors,
consistent with everything else.

I also refer you to the discussion about synchronous getUserMedia:
http://lists.w3.org/Archives/Public/public-media-capture/2012Nov/0021.html
which might change this.

On 27 November 2012 08:34, jonathan chetwynd <jay@peepo.com> wrote:
> comments would be appreciated
Received on Tuesday, 27 November 2012 17:00:18 UTC

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