- From: jan-ivar <notifications@github.com>
- Date: Fri, 16 Sep 2016 14:28:14 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Message-ID: <w3c/permissions/issues/128@github.com>
https://w3c.github.io/permissions/#media-devices says: *"The "camera", "microphone" , and "speaker" permissions are associated with permission to use media devices as specified in [GETUSERMEDIA] and [audio-output]. "speaker" is [allowed in non-secure contexts](https://w3c.github.io/permissions/#allowed-in-non-secure-contexts)."* Unless I'm misunderstanding what a "flag" is, this says that all browsers must disallow "camera" and "microphone" in non-secure origins, which does not match what the mediacapture spec [says](https://w3c.github.io/mediacapture-main/getusermedia.html#local-content): *"When on an insecure origin [[mixed-content](https://w3c.github.io/mediacapture-main/getusermedia.html#bib-mixed-content)], User Agents are encouraged to warn about usage of `navigator.mediaDevices.getUserMedia`, `navigator.getUserMedia` ... It is explicitly permitted for User Agents to remove these APIs entirely when on an insecure origin, ..."* The permission spec should be updated to correctly reflect the mediacapture spec: that browsers may or may not support `getUserMedia` in http. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/permissions/issues/128
Received on Friday, 16 September 2016 21:29:16 UTC