From b022b91c0c6fa807424b6c12cc92ac5946838083 Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期四, 13 七月 2017 16:34:39 +0800 Subject: [PATCH] update pipeline --- RtspFace/PL_RTSPClient.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/RtspFace/PL_RTSPClient.h b/RtspFace/PL_RTSPClient.h index 6e43253..bdecad3 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(); -- Gitblit v1.8.0