提交 4266eabb authored 作者: José Luis Millán's avatar José Luis Millán

cosmetic

上级 369857f5
......@@ -718,7 +718,7 @@ namespace RTC
// The stream has transitioned to non healthy.
if (rtpStream->IsHealthy() && !healthy)
{
MS_DEBUG_TAG(rtp, "stream is now unhealthy [ssrc:%" PRIu32 "]", rtpStream->GetSsrc());
MS_DEBUG_TAG(rtp, "stream is now unhealthy [ssrc:%" PRIu32 "]", rtpStream->GetSsrc());
// Notify about the profiles being disabled.
for (auto& profile : profiles)
......@@ -727,10 +727,11 @@ namespace RTC
listener->OnProducerProfileDisabled(this, profile);
}
}
// The stream has transitioned to healthy.
if (!rtpStream->IsHealthy() && healthy)
{
MS_DEBUG_TAG(rtp, "stream is now healthy [ssrc:%" PRIu32 "]", rtpStream->GetSsrc());
MS_DEBUG_TAG(rtp, "stream is now healthy [ssrc:%" PRIu32 "]", rtpStream->GetSsrc());
// Notify about the profiles being disabled.
for (auto& profile : profiles)
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论