Pan/Tilt Control
GET/ptzctrl.cgi?pantilt
Function: Send commands to control the Pan/Tilt direction with optional speed parameters
Camera Compatibility:
- Move 4K
- Link 4K
- Move SE
Example: Send command to camera for tilt up/pan right with pan and tilt speeds of 15, 13
curl:
curl "http://CAMERA-IP-ADDRESS/cgi-bin/ptzctrl.cgi?ptzcmd&rightup&15&13"
JavaScript:
fetch("http://CAMERA-IP-ADDRESS/cgi-bin/ptzctrl.cgi?ptzcmd&rightup&15&13")
Example: Send command to camera for tilt up/pan right with default speeds (speed parameters omitted)
curl:
curl "http://CAMERA-IP-ADDRESS/cgi-bin/ptzctrl.cgi?ptzcmd&rightup"
JavaScript:
fetch("http://CAMERA-IP-ADDRESS/cgi-bin/ptzctrl.cgi?ptzcmd&rightup")
Request
Responses
- 200
The request has succeeded.