CameraInterfacePtzPositionMessage
HTTP API schema
Where a pan-tilt camera points after a step-ptz, move-ptz or stop-ptz request, estimated from the steps the provider has sent and how long and how fast the camera has turned in this camera session. Pan counts degrees to the right of panReference and tilt counts degrees up from tiltReference. A reference is the end of the range once the camera has been turned to that end in this session, and the session start before that.
CameraInterfacePtzPositionMessage fields
- movedDegrees
numberRequired How far this request turned the camera, in degrees, after stopping at the end of the range. It is 0 for a move-ptz without seconds, which answers as soon as the camera starts turning.
minimum: 0
- panDegrees
numberRequired Degrees to the right of panReference. Negative means left of the session start.
- panReference
stringRequired LEFT_END once the camera has been turned to its left or right end in this session, so panDegrees runs from 0 to panRangeDegrees.
Allowed values
LEFT_ENDSESSION_START
- panRangeDegrees
numberRequired How far the camera can pan from its left end to its right end.
minimum: 0
- panMoving
booleanRequired Whether the camera is still turning on the pan axis after a move-ptz without seconds.
- tiltDegrees
numberRequired Degrees up from tiltReference. Negative means below the session start.
- tiltReference
stringRequired BOTTOM_END once the camera has been turned to its top or bottom end in this session, so tiltDegrees runs from 0 to tiltRangeDegrees.
Allowed values
BOTTOM_ENDSESSION_START
- tiltRangeDegrees
numberRequired How far the camera can tilt from its bottom end to its top end.
minimum: 0
- tiltMoving
booleanRequired Whether the camera is still turning on the tilt axis after a move-ptz without seconds.