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

Re: How to check if permission denied?

From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 7 Dec 2012 09:51:23 -0800
Message-ID: <CABkgnnVAwL1WuFuPM_bLkR96kBwPSOjt9yayOgrFiEPFC7KJ7g@mail.gmail.com>
To: "Timothy B. Terriberry" <tterriberry@mozilla.com>
Cc: "public-media-capture@w3.org" <public-media-capture@w3.org>
On 7 December 2012 09:23, Timothy B. Terriberry <tterriberry@mozilla.com> wrote:
> I'm curious to hear how you think this should interact with the deviceId
> constraint proposed earlier. Do all files use the same deviceId (even though
> they may have, for example, drastically different resolutions and
> framerates)? If not, is the deviceId they do have persistent (so an app
> could request the exact same file it had before)? Do your answers to these
> questions change if we allow enumeration of deviceIds or merely allow
> re-requesting a previously obtained deviceId?

I know what I think: getUserMedia is the wrong API to use for
acquiring media from a non-user-device source.  These are the sorts of
questions that arise.  I don't think that deviceId makes any sense for
something that is not a device.  (Similarly, I would not use
getUserMedia to acquire media from an RTCPeerConnection.)
Received on Friday, 7 December 2012 17:51:45 UTC

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