Camera.PTZ
Description
Marks an Object as capable of the PTZ (pan / tilt / zoom) Operation.
If this Functionality is enabled, the camera control bar in video manager will be shown.
Operations
PTZ
This Operation allows to control a PTZ camera. It sets the pan/tilt angle, pan/tilt speed and zoom speed.
This Operation models continuous PTZ. Each call updates the current pan/tilt movement or zoom, depending on which Properties are set. To stop the current movement or zoom, an Operation with speed values of 0 is sent.
The adapter should be able to control pan/tilt movement and zoom independently.
For example, if a pan/tilt movement is currently in progress and an Operation is received which only has zoom_speed set, the Operation should only update the zoom speed and not cancel the ongoing pan/tilt movement.
Properties
| Name | Type | Description |
|---|---|---|
| pantilt_angle | double | (optional) The angle of the pan/tilt operation. If set, the adapter should adjust the angle of the current movement. The value range is [0, 360). A 0° angle points to the right, a 90° angle to the top, continuing counter-clockwise. |
| pantilt_speed | double | (optional) The speed of the pan/tilt operation. If set, the adapter should adjust the current pan/tilt speed. The value range is [0, 100]. 100 indicates the maximum possible pan/tilt speed of the device. |
| zoom_speed | double | (optional) The speed of zooming. If set, the adapter should adjust the current zoom speed. The value range is [-100, 100]. The values -100 and 100 indicate the maximum zooming speed of the device in the respective direction. |