NET_SDK_PTZPreset¶
Interface Definition¶
1 2 3 4 | |
1 2 3 4 | |
Function Description¶
PTZ preset point operation (preview must be started first).
Parameter Description¶
| Parameters | Type | Remark |
|---|---|---|
| lLiveHandlein | POINTERHANDLE | The preview handle, which is the return value of NET_SDK_LivePlay or NET_SDK_LivePlayEx. |
| dwPTZPresetCmdin | DWORD | To operate the PTZ preset point command, refer to PTZ_CMD_TYPE. |
| dwPresetIndexin | DWORD | The serial number of the preset point supports up to 255 preset points. |
Return Value¶
-
type:BOOL
-
remark:Returns TRUE if successful, FALSE if failed.
Remarks¶
The commands for various PTZ operations between the device and the PTZ correspond to the control codes between the device and the PTZ. The device will send control codes to the PTZ according to the currently set decoder type and decoder address. If the decoder currently set on the device does not match the PTZ device, the decoder of the device needs to be reconfigured. If the decoder required by the PTZ device is not supported by the device, it cannot be controlled using this interface.