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"
        }
    ]
}
Parameter Type Description
status Int Response status. 0: success
message String Service status description. 0: Success
current String The ID of the PTZ device under control
deviceList Array of PtzDevice Available PTZ device list

PtzDevice

Parameter Type Description
id String The PTZ device's ID
layerName String The PTZ device's name
controlType Int The PTZ device type
100: Visca UDP
101: NDI
102: Phone Camera
103: UVC
104: OBSBOT NDI
isSupportPtz Boolean Whether PTZ control is supported.
true: Support; false: Not support

HTTP Status Code

results matching ""

    No results matching ""