/// <summary> /// 实时数据回调 /// </summary> /// <param name="lRealHandle">SDK_RealPlay 的返回值</param> /// <param name="cbRealData">回调函数</param> /// <param name="dwUser">用户数据</param> public void RealDataCallBack(int lRealHandle, FRealDataCallBack cbRealData) { SDK_SetRealDataCallBack(lRealHandle, cbRealData, 0); }
private static extern bool SDK_SetRealDataCallBack(int lRealHandle, FRealDataCallBack cbRealData, int dwUser);
public static extern bool NET_DVR_SetRealDataCallBack(long lRealHandle, FRealDataCallBack fRealDataCallBack, ushort dwUser);