W3C home > Mailing lists > Public > public-media-capture@w3.org > August 2013

Re: Proposal: Time out for getUserMedia.

From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 29 Aug 2013 10:04:26 -0700
Message-ID: <CABkgnnUySftfbcMq1-w9F92y2-ZQz_m3GVbhQVyJtH1pXfAGjg@mail.gmail.com>
To: Kiran Kumar <g.kiranreddy4u@gmail.com>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 28 August 2013 23:27, Kiran Kumar <g.kiranreddy4u@gmail.com> wrote:
> 1) When a getUserMedia() is called, it will prompt for user acceptance. If
> the user closes the pop up, then the application is not receiving any error.
> So I would like to suggest that getUserMedia should respond with
> permission_denied error.
>
> 2) After calling getUserMedia(), the pop-up for user acceptance is waiting
> indefinitely for user acceptance. It would be better, if that prompt gets
> timed out after some time, and send a negative status response to the
> applications (the response may be permission_denied or user_time_out error).

It's possible to regard both of these as browser implementation
features.  Is there anything specific that you believe that the API
needs to support?
Received on Thursday, 29 August 2013 17:04:57 UTC

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