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

Re: Proposal for output device selection

From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 20 Aug 2013 09:43:07 -0700
Message-ID: <CABkgnnWQ3ctoTcV8pUdCzhy2+FhoHA8+kFH3u3WVbL9i3JRUqw@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 20 August 2013 01:21, Harald Alvestrand <harald@alvestrand.no> wrote:
> Would it make more sense to have a separate "get permissions" call, which
> took as argument an explicit enumeration of the kinds of resources the
> script wanted (input devices, output devices, cameras, microphones, screen
> captures...)?
> Then it would be the job of the UA to figure out how to message the request
> for permissions appropriately, and there would only be (at most) one
> permissions prompt per origin as long as requested permissions did not
> change.
> For backwards compatibility with existing getUserMedia, we could say that
> getUserMedia implicitly called "get permissions"(audio if set, video if set)
> if "get permissions" hadn't been called before.

I don't think so.  That sort of permissions model, most notably used
in relation to app installation in Android, is fairly widely regarded
as a bit of a failure.  See for instance:
Received on Tuesday, 20 August 2013 16:43:39 UTC

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