PTZ Direction Control
1. API Description
PTZ direction control.
Request mode: POST [ip]/api/ptz/move
| Administrator Rights | Login Authentication |
|---|---|
| No | Yes |
2. Input Parameters
| Parameter | Type | Description |
|---|---|---|
| pan | float | Horizontal movement direction and speed, range -1.0 to 1.0, negative for right, positive for left. Larger absolute value means faster movement |
| tilt | float | Vertical movement direction and speed, range -1.0 to 1.0, negative for down, positive for up. Larger absolute value means faster movement |
Note: When both pan and tilt are 0, it means stop moving. When moving, you can provide either one or both values. Unspecified values default to 0.
3. Output Parameters
| Parameter | Type | Description |
|---|---|---|
| status | Int | Status code |
4. Example
Move to top-left direction
Input Example
{
"pan": -0.5,
"tilt": 0.5
}
Output Example
{
"status": 0
}