selectControlByIndex
Select the PTZ device to control by index.
Address
/ptz/selectControlByIndex [index number]
Arguments
Type | Description | |
---|---|---|
argument 1 | Int | The position of the layer supporting PTZ control in the scene (from bottom to top), which can be 1, 2, 3... |
Example
Select the 1st PTZ layer from bottom to top.
/ptz/selectControlByIndex 1
Note: Floating point numbers will be rounded down.
/ptz/selectControlByIndex 1.9 = /ptz/selectControlByIndex 1