Skip to content

NET_SDK_PTZAutoScan

Interface Definition

1
2
3
4
5
BOOL NET_SDK_PTZAutoScan(
    POINTERHANDLE lLiveHandle,
    DWORD dwPTZAutoScanCmd,
    DWORD dwSpeed,
    BOOL bIsAutoScan = TRUE);
1
2
3
4
5
public static extern bool NET_SDK_PTZAutoScan(
    POINTERHANDLE lLiveHandle,
    int dwPTZAutoScanCmd,
    int dwSpeed,
    bool bIsAutoScan = true);

Function Description

PTZ automatic scanning 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.
dwPTZAutoScanCmdin DWORD To operate the PTZ automatic scanning command, refer to PTZ_CMD_TYPE.
dwSpeedin DWORD PTZ speed, refer to PTZ_SPEED.
bIsAutoScanin BOOL Whether to scan automatically. TRUE means automatic scanning, FALSE means random scanning.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code