rtp超时检测最多暂停5分钟

更新zltoolkit
This commit is contained in:
ziyue 2021-03-16 15:37:34 +08:00
parent 060b654252
commit 51ac93a08c
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 29f6c5869fd82ea2f130a140049fa7a9c5547762
Subproject commit 1df5d6823fc48598c23fd425c5187b0c417a734f

View File

@ -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;