From 900cad1c378136885f131922c763095e0e12dcdc Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期二, 25 七月 2017 14:20:30 +0800
Subject: [PATCH]
---
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