PTZ Capabilities value
The docs say:
PTZ capabilities
Request format
getptzcapabilities?cameraNum=X
Parameters
cameraNum - the number of the camera
Example
getptzcapabilities?cameraNum=0
Returned data
A text page containing a single number, which is the sum of the following constants:
1 Pan and Tilt
2 Home
4 Zoom
8 Presets
16 Continuous movement
So for example if the number returned is 9, this means the camera support Pan, Tilt, and Presets, but not Home or Zoom, and that the camera moves in discreet steps and does not require "Stop movement" commands. If the camera does continuous movement, it is necessary to issue a "Stop movement" command (99) after issuing any move or zoom command (1-11 in the PTZ command table above).
When I run getptzcapabilities on one of my Amcrest cameras, the value returned is "61"
Also affirmed via systemInfo. "ptz-features" = 61
16+8+4+2+1 = 31
Where's the extra "30" coming from, and what does it mean? I assume there must be an undocumented 6th bit which adds 32, and perhaps my camera supports 32+16+8+4+1 (no Home = 2) to sum to 61. But...that's a wild guess...
Help! 😁
Comments
-
The documentation was slightly incorrect and incomplete - we've updated it and also improved the explanation. Here's the correct info:

