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_RTSPServer.h | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/RtspFace/PL_RTSPServer.h b/RtspFace/PL_RTSPServer.h
index 8b0afec..89e2eca 100644
--- a/RtspFace/PL_RTSPServer.h
+++ b/RtspFace/PL_RTSPServer.h
@@ -1,8 +1,20 @@
#ifndef _PL_RTSPSERVER_H_
-#define _PL_PL_RTSPSERVER_H_
+#define _PL_RTSPSERVER_H_
#include "PipeLine.h"
+struct RTSPServerConfig
+{
+ bool syncDeliverFrame;
+ bool payWithAux;
+ bool sendWithAux;
+
+ RTSPServerConfig() :
+ syncDeliverFrame(true), payWithAux(true), sendWithAux(false)
+ {
+ }
+};
+
class PL_RTSPServer : public PipeLineElem
{
public:
--
Gitblit v1.8.0