Preset Commands with Speed
POST/ptzctrl.cgi?post_preset&poscallwithspeed=:preset&panspeed=:panspeed&tiltspeed=:tiltspeed&zoomspeed=:zoomspeed
Function: Calls camera position from preset with specified pan, tilt, and zoom speeds
Camera Compatibility:
- Move 4K
- Link 4K
- Move SE
- Studio Pro
- Studio 4K
Example: Call preset 1 with specified speeds (pan=10, tilt=10, zoom=5)
curl:
curl -X POST "http://CAMERA-IP-ADDRESS/cgi-bin/ptzctrl.cgi?post_preset&poscallwithspeed=1&panspeed=10&tiltspeed=10&zoomspeed=5" -H "Content-Length: 0"
JavaScript:
fetch("http://CAMERA-IP-ADDRESS/cgi-bin/ptzctrl.cgi?post_preset&poscallwithspeed=1&panspeed=10&tiltspeed=10&zoomspeed=5", \{method: 'POST'\})
Request
Responses
- 200
The request has succeeded.