mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-15 20:45:57 +08:00
统一代码风格
This commit is contained in:
@@ -135,8 +135,10 @@ void RtpProcess::addTrackCompleted() {
|
||||
}
|
||||
|
||||
bool RtpProcess::alive() {
|
||||
if(_stop_rtp_check.load())
|
||||
if (_stop_rtp_check.load()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
GET_CONFIG(int, timeoutSec, RtpProxy::kTimeoutSec)
|
||||
if (_last_frame_time.elapsedTime() / 1000 < timeoutSec) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user