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

Re: [mediacapture-main] Disable user media by default in cross-origin iframes

From: raymeskhoury via GitHub <sysbot+gh@w3.org>
Date: Wed, 08 Feb 2017 23:43:07 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-278499864-1486597386-sysbot+gh@w3.org>
I forgot to mention how we're thinking this will relate to 
allowusermedia (obviously this is up for discussion).

allowusermedia is in the spec, but AFAIK it isn't implemented anywhere
 yet. allowusermedia is coarse-grained in the sense that it gates the 
entire getUserMedia API. The direction that most browsers seem to be 
heading, (as well as the permissions API) is to have fine-grained 
permissions for camera/mic/speakers. It seems like it would be good to
 align the features that we add to Feature Policy with those 
permissions and have the failure modes be the same as if each of those
 features was denied.

So I'm proposing that we remove allowusermedia from the spec here and 
have 3 features added to Feature Policy instead for 
camera/mic/speakers. I think allowed-to-use will essentially still be 
the way to check if a feature is enabled but @clelland can verify 

This is all still a bit up in the air but again just wanting to get 
the discussion going :)

GitHub Notification of comment by raymeskhoury
Please view or discuss this issue at 
 using your GitHub account
Received on Wednesday, 8 February 2017 23:43:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:31 UTC