/// <summary> /// 设置实况rtp数据包回调 /// </summary> /// <param name="dataCallBack"></param> public void SetNetDataCallBack(NET_DATA_CALLBACK dataCallBack, NET_EXCEPTION_CALLBACK netExceptionCallBack) { NLogEx.LoggerEx logEx = new NLogEx.LoggerEx(log); logEx.Trace("Enter: SipStackAdapter.SetNetDataCallBack()."); cbDataCallBack = dataCallBack; cbNetExceptionCallBack = netExceptionCallBack; logEx.Info("Set SetNetDataCallBack success"); }
public static extern IVS_NETSOURCE_RESULT IVS_NETSOURCE_SetExceptionCallBack(NET_EXCEPTION_CALLBACK cbExceptionCallBack, IntPtr pUser);
public extern static IVS_NETSOURCE_RESULT IVS_NETSOURCE_SetExceptionCallBack(NET_EXCEPTION_CALLBACK cbExceptionCallBack, IntPtr pUser);