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

SimulcastConsumer.cpp: remove unused variable

上级 77111917
......@@ -1256,7 +1256,6 @@ namespace RTC
newTargetSpatialLayer = -1;
newTargetTemporalLayer = -1;
uint8_t maxProducerScore{ 0u };
auto nowMs = DepLibUV::GetTimeMs();
for (size_t sIdx{ 0u }; sIdx < this->producerRtpStreams.size(); ++sIdx)
......@@ -1297,7 +1296,6 @@ namespace RTC
continue;
newTargetSpatialLayer = spatialLayer;
maxProducerScore = producerScore;
// If this is the preferred or higher spatial layer take it and exit.
if (spatialLayer >= this->preferredSpatialLayer)
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论