Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify pan/tilt/zoom settings (#245) #249

Merged
merged 1 commit into from
Sep 24, 2020

Conversation

eehakkin
Copy link
Contributor

Split from #248 per @youennf's request.

@beaufortfrancois
Copy link
Contributor

Following #248 (comment),

Web developers can already monitor the camera with PTZ permission with the permissions API to detect changes.

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.
}

@beaufortfrancois
Copy link
Contributor

@youennf (gentle ping)

@youennf
Copy link
Contributor

youennf commented Aug 26, 2020

As I read it, this looks fine, though I would like to get some clarification to #250 (comment).

@beaufortfrancois
Copy link
Contributor

@youennf Does it look good to you with recent changes around ideal PTZ constraints only in getUserMedia?

Copy link
Contributor

@youennf youennf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@riju riju merged commit 4ebee84 into w3c:master Sep 24, 2020
@eehakkin eehakkin deleted the feature/clarify-pan-tilt-zoom-settings branch October 30, 2020 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PTZ Pan-Tilt-Zoom
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants