ptzDeviceList
When the PTZ device list of the current show and the data of the PTZ device under control on the device changes or it receives the Request for state synchronization, the Director device sends the PTZ device list of the current show and the data of the PTZ device under control to the receiver.
For how to configure the receiver, please refer to How to use TouchOSC to control Director.
Address
/status/ptzDeviceList [json string]
Arguments
Type | Description | |
---|---|---|
argument 1 | String | The PTZ device list of the current show and the data of the PTZ device under control |
Example
After receiving Request for state synchronization, the Director device sends sends the PTZ device list of the current show and the data of the PTZ device under control to the receiver.
/status/ptzDeviceList {"current":"590a8d4ab3c242b7a4d3dc489b12e1ed","deviceList":[{"id":"590a8d4ab3c242b7a4d3dc489b12e1ed","isSupportPtz":true,"controlType":102,"layerName":"PHONE CAMERA - Camera #1"},{"id":"7249ec1f-8751-4b48-b44a-01e730c7b391","isSupportPtz":true,"controlType":100,"layerName":"HDMI 1"},{"id":"3ff9ed7e-4604-441f-8d09-c07a803fa068","isSupportPtz":true,"controlType":100,"layerName":"HDMI 2"},{"id":"faad1f50232f48f4bd63e848d584c1f6","isSupportPtz":true,"controlType":102,"layerName":"PHONE CAMERA - Camera #2"}]}
Name | Type | Description |
---|---|---|
current | String | The ID of the PTZ device under control |
deviceList | Array |
Available PTZ device list |
Device
Name | Type | Description |
---|---|---|
id | String | The PTZ device's ID |
isSupportPtz | Boolean | Whether PTZ control is supported. true: Support; false: Not support |
controlType | Int | The PTZ device type 100: Visca UDP 101: NDI 102: Phone Camera 103: UVC 104: OBSBOT NDI |
layerName | String | The PTZ device's name |