getDeviceList

Use the interface to get all the available PTZ devices in the current show.

Request Mode

POST/GET http://ip/V1.0/ptz/getDeviceList

Request Data

Null

Response Body

{
    "status": 0,
    "message": "SUCCESS",
    "current": "",
    "deviceList": [
        {
            "id": "fcd51e30551e4795879c8bdc8f5397cd",
            "isSupportPtz": true,
            "controlType": 102,
            "layerName": "PHONE CAMERA - Camera #1"
        },
        {
            "id": "2ccca046b59543bd931ad343f07445c5",
            "isSupportPtz": true,
            "controlType": 102,
            "layerName": "PHONE CAMERA - Camera #2"
        }
    ]
}
Property Description
status Response status. 0: success
current The ID of the PTZ device under control
deviceList Available PTZ device list
Property Description
id The PTZ device's ID
layerName The PTZ device's name
controlType The PTZ device type
100: Visca UDP
101: NDI
102: Phone Camera
103: UVC
104: OBSBOT NDI
isSupportPtz Whether PTZ control is supported.
true: Support; false: Not support

HTTP Status Code

results matching ""

    No results matching ""