From 5cf652629fb40796cd2e0ab17c3617ed52365473 Mon Sep 17 00:00:00 2001
From: pans <pans@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 18 八月 2017 10:32:05 +0800
Subject: [PATCH] capnp client fix bug
---
RtspFace/PL_RTSPServer2.h | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/RtspFace/PL_RTSPServer2.h b/RtspFace/PL_RTSPServer2.h
index 89e2eca..5e3a6f2 100644
--- a/RtspFace/PL_RTSPServer2.h
+++ b/RtspFace/PL_RTSPServer2.h
@@ -1,25 +1,25 @@
-#ifndef _PL_RTSPSERVER_H_
-#define _PL_RTSPSERVER_H_
+#ifndef _PL_RTSPSERVER2_H_
+#define _PL_RTSPSERVER2_H_
#include "PipeLine.h"
-struct RTSPServerConfig
+struct RTSPServer2Config
{
- bool syncDeliverFrame;
- bool payWithAux;
+ //bool syncDeliverFrame;
bool sendWithAux;
-
- RTSPServerConfig() :
- syncDeliverFrame(true), payWithAux(true), sendWithAux(false)
+ bool payBlockFullQueue;
+
+ RTSPServer2Config() :
+ sendWithAux(true), payBlockFullQueue(false)
{
}
};
-class PL_RTSPServer : public PipeLineElem
+class PL_RTSPServer2 : public PipeLineElem
{
public:
- PL_RTSPServer();
- virtual ~PL_RTSPServer();
+ PL_RTSPServer2();
+ virtual ~PL_RTSPServer2();
virtual bool init(void* args);
virtual void finit();
@@ -31,6 +31,6 @@
void* internal;
};
-PipeLineElem* create_PL_RTSPServer();
+PipeLineElem* create_PL_RTSPServer2();
#endif
--
Gitblit v1.8.0