提交 9c75dc60 authored 作者: José Luis Millán's avatar José Luis Millán

Consumer: remove extra logs

上级 74809160
......@@ -757,23 +757,13 @@ namespace RTC
// No simulcast/SVC.
if (this->effectiveProfile == RtpEncodingParameters::Profile::DEFAULT)
{
// TODO: Notify the user.
MS_WARN_TAG(rtp, "unhealthy rtp stream");
return;
}
auto it = this->profiles.find(this->effectiveProfile);
// This is already the lowest profile.
if (it == this->profiles.begin())
{
// TODO: Notify the user.
MS_WARN_TAG(rtp, "lowest profile is unhealthy");
return;
}
// Downgrade the target profile.
this->targetProfile = *(std::prev(it));
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论