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

SimulcastConsumer.cpp: (again) no need to check preferredSpatialLayer != -1

上级 cb624afd
...@@ -648,8 +648,8 @@ namespace RTC ...@@ -648,8 +648,8 @@ namespace RTC
if (!producerRtpStream) if (!producerRtpStream)
continue; continue;
// Ignore spatial layers higher than the preferred one, if defined. // Ignore spatial layers higher than the preferred one.
if (this->preferredSpatialLayer != -1 && idx > this->preferredSpatialLayer) if (idx > this->preferredSpatialLayer)
return; return;
if (producerRtpStream->GetScore() >= maxScore) if (producerRtpStream->GetScore() >= maxScore)
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论