Home / Docs Center / Device API Reference / PTZ Basic Parameter Configuration Query
PTZ Basic Parameter Configuration Query
Project: Device Interface Document (New Version) | page_id: 1001
[TOC]
Brief Description
- PTZ control basic parameter configuration query
Request URL
/xsw/api/ptz/baseConf
Request Method
- POST
Parameters
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| ptzSpeed | No | int | Set the PTZ speed |
| zoomSpeed | No | int | Set the focus speed |
| steps | No | int | Set the step size |
Return Example
{
"ptzSpeed": 1,
"zoomSpeed": 1,
"steps": 0,
}
Return Parameter Description
| Parameter Name | Type | Description |
|---|---|---|
| code | int | Status code. 0 means success, others mean failure |
| msg | string | Failure message |
Notes
- With no request parameters it is a configuration query; you can also configure one of the parameters individually
Didn't find what you need?Contact us,Talk to our engineers directly.