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

SimulcastConsumer.cpp: no need to check this->preferredSpatialLayer == -1 (it's never -1)

上级 6fdcee76
...@@ -631,8 +631,8 @@ namespace RTC ...@@ -631,8 +631,8 @@ namespace RTC
<< std::endl; << std::endl;
} }
// No current or preferred spatial layer, select the highest possible. // No current spatial layer, select the highest possible.
if (this->currentSpatialLayer == -1 || this->preferredSpatialLayer == -1) if (this->currentSpatialLayer == -1)
{ {
std::cout << "RecalculateTargetSpatialLayer. no current or preferred spatial layer, selecting the highest possible..." std::cout << "RecalculateTargetSpatialLayer. no current or preferred spatial layer, selecting the highest possible..."
<< std::endl; << std::endl;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论