set-ptz-config

Use the interface to set PTZ parameters.

HTTP Request

GET http://ip/mwapi?method=set-ptz-config&param1=value1&param2=value2...
Parameter Description
method set-tally
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 Indicates the ID of the camera, which allows the controller to identify different PTZ cameras, especially when multiple cameras are connected. The value ranges 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.

Response Body

{
 "status": 0
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""