跳转至

NET_SDK_PTZSetCruise

接口定义

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);

功能描述

设置云台巡航路线(需先启动预览)。

参数说明

参数 类型 说明
lLiveHandlein POINTERHANDLE 预览句柄,NET_SDK_LivePlayNET_SDK_LivePlayEx的返回值。
byCruiseRoutein BYTE 巡航路线。
pCruisePointin DD_CRUISE_POINT_INFO* 巡航点。
pointNumin WORD 巡航点数。

返回值

  • 类型:BOOL

  • 说明:成功返回TRUE,失败返回FALSE。

备注

错误码