- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Thu, 20 Aug 2020 12:40:33 +0000
- To: public-webrtc-logs@w3.org
Following https://github.com/w3c/mediacapture-image/pull/248#discussion_r473096602, Web developers can already monitor the camera with PTZ permission with the permissions API to detect changes. ```js const panTiltZoomPermissionStatus = await navigator.permissions.query({ name: "camera", panTiltZoom: true, }); if (panTiltZoomPermissionStatus.state == "granted") { // User has granted access to this website to control camera PTZ. } panTiltZoomPermissionStatus.onchange = () => { // User has changed PTZ permission status. } ``` -- GitHub Notification of comment by beaufortfrancois Please view or discuss this issue at https://github.com/w3c/mediacapture-image/pull/249#issuecomment-677640264 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 20 August 2020 12:40:34 UTC