Skip to Content
Platform.Ontology

Camera pan, tilt and zoom control

Lets a site move or zoom a PTZ-capable camera.

Asks you firstCamera, mic and screenCaptureWeb browsersWhile you use it

In one line

Can move or zoom a motorized camera, once the site already has camera access

Lets a site move or zoom a PTZ-capable camera.

Gives the site physical control of camera direction and zoom on conferencing cameras, so it can aim at people and rooms. Gated by a separate permission on top of camera access.

What it can and can't do

What the user does: You use pan or zoom controls on a video call or monitoring page and approve the extra prompt

It can

  • Pan, tilt and zoom a camera that has those motors or lenses
  • Change the framing during a call or while watching a feed
  • Use all three movements on that camera after one approval

It cannot

  • Move a camera that has no motor or zoom
  • Control the camera without the separate camera movement prompt in Chrome
  • Grant only zoom and keep pan locked; the approval covers all three
  • Work in Firefox, Safari or iPhone browsers, which do not offer it

How it differs between platforms: Works in Chrome and Edge (desktop and Android). Firefox, Safari and iPhone browsers do not support it.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported872020-11-17None
EdgeSupported872020-11-19None
FirefoxNot supportedNot availableNot listedNone
SafariNot supportedNot availableNot listedNone
Safari on iPhoneNot supportedNot availableNot listedNone
Chrome on AndroidSupported872020-11-17None
Samsung InternetNot supportedNot availableNot listedNone

How a site asks for it

APIgetUserMedia({video: {pan: true, tilt: true, zoom: true}}); track.applyConstraints({advanced: [{pan, tilt, zoom}]}); getCapabilities()
Permission namecamera (with panTiltZoom: true)
Permissions policycamera
Browser compat keysapi.MediaTrackSettings.pan
api.MediaTrackSettings.tilt
api.MediaTrackSettings.zoom
How access is grantedprompt
What the user seesChrome shows a distinct prompt when constraints request pan, tilt or zoom: Allow control of camera movements. Granting unlocks all three on that device.
Needs a secure context (HTTPS)Yes
Needs a user gestureNo
How long it lastsStored with the camera permission per origin
How to take it backSite settings > Camera, padlock icon
Inside an iframeNeeds allow="camera" in cross-origin iframes

Typical flow

  1. Request video with panTiltZoom permission descriptor
  2. Browser shows PTZ prompt
  3. Read getCapabilities() ranges
  4. applyConstraints with new values

Data you get

What comes back: Camera pan, tilt and zoom settings
Shape: object
How often: on request

FieldTypeUnitRangePrecision
panfloatarc secondsdevice range (often about -648000 to 648000)device step
tiltfloatarc secondsdevice rangedevice step
zoomfloatratio1 to device max (often 1 to 10)device step

Technical limits

  • Only works on cameras that advertise PTZ
  • Requires camera permission first
  • Not in Firefox or Safari

The story

What it is

Lets a site tilt, turn and zoom a motorized camera, not only look through it.

For you

If you have a camera that can move, such as a conference room camera, a second prompt asks whether the site may point and zoom it. If you say yes, you may see the camera swing toward a speaker without anyone touching it.

For makers

Meeting and telehealth sites want to frame people well and follow whoever talks, without a separate control app. A web page can then run a whole room camera system. It also saves support calls about camera setup.

Where you see it

TypeExampleApps
videoA web based room system in a boardroom zooms in on whoever is talking, so remote staff can see faces and not a wide table shot.None named
healthA doctor on a telehealth site zooms the patient camera onto a rash or a wound so the care team can see detail from far away.Teladoc, Doxy.me
educationA lecture hall camera follows the teacher around the room while students watch the stream in a browser tab.Panopto, Echo360
liveA church or school streams a service on the web, and the volunteer pans the camera from a browser page on a laptop.Boxcast, Vimeo Live
securityA shop owner opens a web page that lets them aim a motorized store camera at the door or the till from home.None named
smart-homeA pet camera page lets you swivel and zoom to find your cat, using a plain browser tab on your phone.None named
gamesA tabletop board game stream lets the host steer an overhead camera to show the cards on the table to remote players.None named

Risks

  • Camera aimed at people without their notice
  • Gives a site physical control of hardware

What the platform says

Good uses and abuse

Legitimate uses

  • Remote classrooms and surgery cameras
  • Conferencing rooms with auto-framing

Known abuse

  • Remotely aiming a camera at people after capture is granted

Scores

ScoreValueMeaning
Sensitivity4 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction2 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2020-11, Chrome 87: Camera PTZ control ships behind a permission

Sources

How well checked: Based on official documentation.

On this page