From a08e6387a2fe736d23e9541ac00eb3b0a84d2afe Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 19 七月 2017 19:34:21 +0800
Subject: [PATCH] compile

---
 RtspFace/PL_RTSPClient.h |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/RtspFace/PL_RTSPClient.h b/RtspFace/PL_RTSPClient.h
index 91fa685..bdecad3 100644
--- a/RtspFace/PL_RTSPClient.h
+++ b/RtspFace/PL_RTSPClient.h
@@ -4,8 +4,11 @@
 #include "PipeLine.h"
 #include <string>
 
-struct RTSPConfig
+struct PL_RTSPClient_Config
 {
+	std::string receivingInterfaceAddr;
+	int desiredPortNum;
+	bool requestStreamingOverTcp;
 	std::string progName;
 	std::string rtspURL;
 	bool aux; // frame data start with 0x00000001
@@ -13,15 +16,19 @@
 	int tunnelOverHTTPPortNum; // portNumBits
 	void* args;
 	
-	RTSPConfig() : 
+	PL_RTSPClient_Config() : 
+		receivingInterfaceAddr(), desiredPortNum(0), requestStreamingOverTcp(false), 
 		progName(), rtspURL() ,aux(true), verbosityLevel(1), tunnelOverHTTPPortNum(0), args(nullptr)
 	{ }
 };
+
+struct RtspClientParam;
 
 class PL_RTSPClient : public PipeLineElem
 {
 	friend void rtsp_client_frame_callback(void* arg, uint8_t* buffer, size_t buffSize, timeval presentationTime);
 	friend void rtsp_client_continue_callback(void* arg);
+	friend void rtsp_client_set_param_callback(void* arg, RtspClientParam& param);
 
 public:
 	PL_RTSPClient();

--
Gitblit v1.8.0