提交 da9879c9 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Apply gulp format

上级 fb297755
......@@ -788,12 +788,12 @@ namespace RTC
// Simulcast. Check whether any RTP is being received at all.
uint32_t totalBitrate = 0;
uint64_t now = DepLibUV::GetTime();
uint64_t now = DepLibUV::GetTime();
for (auto it : this->healthyProfiles)
{
auto healthyRtpStream = it.second;
auto ssrc = healthyRtpStream->GetSsrc();
auto ssrc = healthyRtpStream->GetSsrc();
totalBitrate += this->rtpStreams[ssrc]->GetRate(now);
}
......@@ -803,9 +803,7 @@ namespace RTC
return;
// Simulcast. Remove the stream from healthy profiles.
MS_DEBUG_TAG(rtp,
"rtp inactivity detected [ssrc:%" PRIu32,
rtpStream->GetSsrc());
MS_DEBUG_TAG(rtp, "rtp inactivity detected [ssrc:%" PRIu32, rtpStream->GetSsrc());
rtpStream->SetUnhealthy();
RemoveHealthyProfiles(rtpStreamRecv);
......@@ -814,7 +812,7 @@ namespace RTC
for (auto it : this->healthyProfiles)
{
auto healthyRtpStream = it.second;
auto ssrc = healthyRtpStream->GetSsrc();
auto ssrc = healthyRtpStream->GetSsrc();
this->rtpStreams[ssrc]->ResetHealthCheckTimer(RTC::RtpStream::HealthCheckPeriod * 2);
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论