Example #1
0
 /// <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");
 }
Example #2
0
 public static extern IVS_NETSOURCE_RESULT IVS_NETSOURCE_SetExceptionCallBack(NET_EXCEPTION_CALLBACK cbExceptionCallBack, IntPtr pUser);
Example #3
0
 public extern static IVS_NETSOURCE_RESULT IVS_NETSOURCE_SetExceptionCallBack(NET_EXCEPTION_CALLBACK cbExceptionCallBack, IntPtr pUser);
Example #4
0
 /// <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");
 }