From e6153a1c229499a9e771e209066e3423aa4f13ff Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 21 四月 2017 10:25:42 +0800
Subject: [PATCH]
---
RtspFace/PL_RTSPClient.h | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/RtspFace/PL_RTSPClient.h b/RtspFace/PL_RTSPClient.h
index b5367fb..6e43253 100644
--- a/RtspFace/PL_RTSPClient.h
+++ b/RtspFace/PL_RTSPClient.h
@@ -4,17 +4,23 @@
#include "PipeLine.h"
#include <string>
-struct RTSPConfig
+struct PL_RTSPClient_Config
{
std::string progName;
std::string rtspURL;
+ bool aux; // frame data start with 0x00000001
+ int verbosityLevel;
+ int tunnelOverHTTPPortNum; // portNumBits
+ void* args;
- RTSPConfig() : progName(), rtspURL() { }
+ PL_RTSPClient_Config() :
+ progName(), rtspURL() ,aux(true), verbosityLevel(1), tunnelOverHTTPPortNum(0), args(nullptr)
+ { }
};
class PL_RTSPClient : public PipeLineElem
{
- friend void rtsp_client_frame_callback(void* arg, uint8_t* buffer, size_t buffSize);
+ friend void rtsp_client_frame_callback(void* arg, uint8_t* buffer, size_t buffSize, timeval presentationTime);
friend void rtsp_client_continue_callback(void* arg);
public:
--
Gitblit v1.8.0