get-ptz-config

Use the interface to obtain PTZ configurations.

HTTP Request

GET http://ip/mwapi?method=get-ptz-config
Parameter Description
method get-ptz-config

Response Body

{
 "status": 0,
 "proto": "none",
 "index": 1,
 "baudrate": 9600,
 "invert-pan": false,
 "invert-tilt": false
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.
proto Indicates the communication protocol that allows the camera and the converter to communicate to each other, including none. By default, it shows none. For now, only Sony VISCA Protocol is supported.
index the ID of the camera, which allows the controller to identify different PTZ cameras, especially when multiple cameras are connected. The range of value is from 1 to 7.
baudrate Indicates the control data speed. For example, "9600 baud" means that the PTZ control port is capable of transferring a maximum of 9600 bits per second. If multiple cameras are connected, each camera should be set to the same value.
Supported options including: 2400, 4800, 9600, 19200 and 38400.
invert-pan Indicates whether to reverse the pan-direction movement. If yes, it shows true; otherwise, it is false.
invert-tilt Indicates whether to reverse the tilt-direction movement. If yes, it shows true; otherwise, it is false.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""