From 9e5babf9db52e64bdae60137be7696e56241fca6 Mon Sep 17 00:00:00 2001
From: xingzilong <xingzilong@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 18 八月 2017 18:12:17 +0800
Subject: [PATCH] H264 NALU解析  并在RTSPServer判断

---
 RtspFace/PL_RTSPClient.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/RtspFace/PL_RTSPClient.h b/RtspFace/PL_RTSPClient.h
index 6e43253..426042f 100644
--- a/RtspFace/PL_RTSPClient.h
+++ b/RtspFace/PL_RTSPClient.h
@@ -6,6 +6,9 @@
 
 struct PL_RTSPClient_Config
 {
+	std::string receivingInterfaceAddr;
+	int desiredPortNum;
+	bool requestStreamingOverTcp;
 	std::string progName;
 	std::string rtspURL;
 	bool aux; // frame data start with 0x00000001
@@ -14,14 +17,18 @@
 	void* args;
 	
 	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();
@@ -32,6 +39,9 @@
 
 	virtual bool pay(const PipeMaterial& pm);
 	virtual bool gain(PipeMaterial& pm);
+
+	// kill locks internal
+	void kill();
 	
 private:
 	void* internal;

--
Gitblit v1.8.0