예제 #1
0
 /// <summary>
 /// 指定码流回调函数
 /// </summary>
 /// <param name="videoDataCallBack"></param>
 /// <param name="sender"></param>
 public void SetDataCallBackFunc(RealDataCallBackFunc dataCallBack)
 {
     NLogEx.LoggerEx logEx = new NLogEx.LoggerEx(log);
     logEx.Trace("Enter: TiandySdkClient.SetDataCallBackFunc().");
     this.cgwRealDataCallBackFunc = dataCallBack;
     this.sdkRealDataCallBackFunc = CallbackFunc;
     logEx.Trace("TiandySdkClient SetDataCallBackFunc success.");
 }
예제 #2
0
 private static extern bool client_sdk_set_h264_callback(int playfd, RealDataCallBackFunc func, int usr);
예제 #3
0
 private static extern int client_sdk_realplay2_ex(string dev_id, string username, string password, string client_sup_id, string dev_sup_id, string client_sup_ip, int client_sup_port, ref RealPlayInfo info, RealDataCallBackFunc func, int usr);
예제 #4
0
 private static extern bool client_sdk_set_realdata_callback(int playfd, RealDataCallBackFunc func, int usr);
예제 #5
0
 private static extern int client_sdk_realplay2_ex(string dev_id, string username, string password, string client_sup_id, string dev_sup_id, string client_sup_ip, int client_sup_port, ref RealPlayInfo info, RealDataCallBackFunc func, int usr);
예제 #6
0
 /// <summary>
 /// 指定码流回调函数
 /// </summary>
 /// <param name="videoDataCallBack"></param>
 /// <param name="sender"></param>
 public void SetDataCallBackFunc(RealDataCallBackFunc dataCallBack)
 {
     NLogEx.LoggerEx logEx = new NLogEx.LoggerEx(log);
     logEx.Trace("Enter: TiandySdkClient.SetDataCallBackFunc().");
     this.cgwRealDataCallBackFunc = dataCallBack;
     this.sdkRealDataCallBackFunc = CallbackFunc;
     logEx.Trace("TiandySdkClient SetDataCallBackFunc success.");
 }