W3C home > Mailing lists > Public > public-media-capture@w3.org > February 2015

Re: Input needed: Cancelling a permission request?

From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Date: Thu, 26 Feb 2015 11:33:09 +0000
To: Anne van Kesteren <annevk@annevk.nl>, Harald Alvestrand <harald@alvestrand.no>
CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
Message-ID: <1447FA0C20ED5147A1AA0EF02890A64B1D1A6E4F@ESESSMB209.ericsson.se>
On 19/02/15 17:19, Anne van Kesteren wrote:
> On Thu, Feb 19, 2015 at 3:25 PM, Harald Alvestrand <harald@alvestrand.no> wrote:
>> https://github.com/w3c/mediacapture-main/issues/127
>> The issue is this: If a getUserMedia request causes a permission prompt,
>> should there be a way for the Javascript to cause that permission prompt
>> to disappear after a while if it is not granted, cancelling the request?
> We don't offer this elsewhere either. If we're going to offer this as
> a new feature this should be a more general discussion I think about
> permissions and what APIs we should offer around them.

What is supposed to happen if you do:

var p = navigator.mediaDevices.getUserMedia(options);

followed by




Received on Thursday, 26 February 2015 11:33:39 UTC

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