Skip to main content

Zoom In/Out/Stop

GET 

/ptzctrl.cgi?zoom

Function: Controls the Zoom direction with optional speed parameter

Camera Compatibility:

  • Move 4K
  • Link 4K
  • Move SE
  • Studio Pro
  • Studio 4k

Example: Zoom in with a zoom speed of 5

curl:

  curl "http://CAMERA-IP-ADDRESS/cgi-bin/ptzctrl.cgi?ptzcmd&zoomin&5"

JavaScript:

  fetch("http://CAMERA-IP-ADDRESS/cgi-bin/ptzctrl.cgi?ptzcmd&zoomin&5")

Example: Zoom in with default speed (speed parameter omitted)

curl:

  curl "http://CAMERA-IP-ADDRESS/cgi-bin/ptzctrl.cgi?ptzcmd&zoomin"

JavaScript:

  fetch("http://CAMERA-IP-ADDRESS/cgi-bin/ptzctrl.cgi?ptzcmd&zoomin")

Request

Responses

The request has succeeded.