From 51ac93a08c5177fb50a4c0b6e750d682fed1ebac Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Tue, 16 Mar 2021 15:37:34 +0800 Subject: [PATCH] =?UTF-8?q?rtp=E8=B6=85=E6=97=B6=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E6=9C=80=E5=A4=9A=E6=9A=82=E5=81=9C5=E5=88=86=E9=92=9F=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0zltoolkit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdpart/ZLToolKit | 2 +- src/Rtp/RtpProcess.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdpart/ZLToolKit b/3rdpart/ZLToolKit index 29f6c586..1df5d682 160000 --- a/3rdpart/ZLToolKit +++ b/3rdpart/ZLToolKit @@ -1 +1 @@ -Subproject commit 29f6c5869fd82ea2f130a140049fa7a9c5547762 +Subproject commit 1df5d6823fc48598c23fd425c5187b0c417a734f diff --git a/src/Rtp/RtpProcess.cpp b/src/Rtp/RtpProcess.cpp index 306449b2..5c888a19 100644 --- a/src/Rtp/RtpProcess.cpp +++ b/src/Rtp/RtpProcess.cpp @@ -135,7 +135,7 @@ bool RtpProcess::alive() { } } - _last_check_alive.elapsedTime(); + _last_check_alive.resetTime(); GET_CONFIG(uint64_t, timeoutSec, RtpProxy::kTimeoutSec) if (_last_frame_time.elapsedTime() / 1000 < timeoutSec) { return true;