From 6faf88ba05f174a80c68f01c0412cae9789dbc8c Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期四, 17 八月 2017 17:55:01 +0800 Subject: [PATCH] aaaaa --- RtspFace/PL_RTSPServer2.cpp | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/RtspFace/PL_RTSPServer2.cpp b/RtspFace/PL_RTSPServer2.cpp index 16da9fa..0506315 100644 --- a/RtspFace/PL_RTSPServer2.cpp +++ b/RtspFace/PL_RTSPServer2.cpp @@ -160,6 +160,11 @@ _this->lastBuffer = nullptr; } + //#todo + //find frameQueue->Seek is pps/sps + // if not: send bufferred pps , return; + + _this->lastBuffer = _this->in->frameQueue->Dequeue(); if (_this->lastBuffer == nullptr) return false; @@ -281,6 +286,10 @@ } } +//#todo + // find if is pps/sps + // buffer the frame into RTSPServer2_Internal + while (in->config.payBlockFullQueue && in->frameQueue->Full()) { int ret = pthread_mutex_lock(in->queue_full_mutex); -- Gitblit v1.8.0