mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
rtp超时检测最多暂停5分钟
更新zltoolkit
This commit is contained in:
parent
060b654252
commit
51ac93a08c
@ -1 +1 @@
|
|||||||
Subproject commit 29f6c5869fd82ea2f130a140049fa7a9c5547762
|
Subproject commit 1df5d6823fc48598c23fd425c5187b0c417a734f
|
@ -135,7 +135,7 @@ bool RtpProcess::alive() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_last_check_alive.elapsedTime();
|
_last_check_alive.resetTime();
|
||||||
GET_CONFIG(uint64_t, timeoutSec, RtpProxy::kTimeoutSec)
|
GET_CONFIG(uint64_t, timeoutSec, RtpProxy::kTimeoutSec)
|
||||||
if (_last_frame_time.elapsedTime() / 1000 < timeoutSec) {
|
if (_last_frame_time.elapsedTime() / 1000 < timeoutSec) {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user