From a328520c9ca05b59ef303d6259efb3d86234ca98 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Thu, 1 Apr 2021 22:24:35 +0800 Subject: [PATCH] buf fixed --- src/Rtp/RtpProcess.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Rtp/RtpProcess.cpp b/src/Rtp/RtpProcess.cpp index 5c888a19..a50a8ecb 100644 --- a/src/Rtp/RtpProcess.cpp +++ b/src/Rtp/RtpProcess.cpp @@ -145,6 +145,9 @@ bool RtpProcess::alive() { void RtpProcess::setStopCheckRtp(bool is_check){ _stop_rtp_check = is_check; + if (!is_check) { + _last_frame_time.resetTime(); + } } void RtpProcess::onDetach() {