From fb7b92964274de80b86ae5a24b1e49b27719b0df Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期一, 14 八月 2017 18:54:37 +0800
Subject: [PATCH] aaaaa

---
 RtspFace/PL_RTSPServer2.cpp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/RtspFace/PL_RTSPServer2.cpp b/RtspFace/PL_RTSPServer2.cpp
index 793276a..bd98fa4 100644
--- a/RtspFace/PL_RTSPServer2.cpp
+++ b/RtspFace/PL_RTSPServer2.cpp
@@ -213,7 +213,7 @@
 	qcfg.fullQueueDropFront = true;
 	qcfg.fullQueueSync = false;
 	qcfg.count = 32;
-	qcfg.maxBuffSize = 100000;
+	qcfg.maxBuffSize = 200000;
 	in->frameQueue = new PreAllocBufferQueue(qcfg);
 
 	int ret = pthread_create(&(in->live_daemon_thid), NULL, live_daemon_thd, in);
@@ -258,6 +258,8 @@
 			framedSource->ppsBase64 = ppsStr;
 
 			in->auxLineSet = true;
+
+			LOG_INFO <<"sps:" << spsStr.size() << ", pps:" << ppsStr.size() << LOG_ENDL;
 		}
 	}
 
@@ -281,7 +283,7 @@
 		return false;
 	}
 
-	memcpy(qbuff->buffer, frame->buffer, frame->buffSize);
+	memcpy(qbuff->buffer, frame->buffer, frame->buffSize);//#todo size min
 	qbuff->buffSize = frame->buffSize;
 
 	//static size_t f = 0;

--
Gitblit v1.8.0