Skip to content

NET_SDK_PTZSetCruise

Interface Definition

1
2
3
4
5
BOOL NET_SDK_PTZSetCruise(
    POINTERHANDLE lLiveHandle,
    BYTE byCruiseRoute,
    DD_CRUISE_POINT_INFO* pCruisePoint,
    WORD pointNum);
1
2
3
4
5
public static extern bool NET_SDK_PTZSetCruise(
    POINTERHANDLE lLiveHandle,
    int byCruiseRoute,
    IntPtr pCruisePoint,
    int pointNum);

Function Description

Set the PTZ cruise route (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.
byCruiseRoutein BYTE Cruise route.
pCruisePointin DD_CRUISE_POINT_INFO* Cruising point.
pointNumin WORD Cruise points.

Return Value

  • type:BOOL

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

Remarks

None

Error Code