提交 30f04a21 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

SimulcastConsumer::IncreaseLayer(): do not select next spatial layer if inactive

Fixes #394
上级 bc7a7ea9
...@@ -482,6 +482,7 @@ namespace RTC ...@@ -482,6 +482,7 @@ namespace RTC
// //
// clang-format off // clang-format off
if ( if (
requiredBitrate &&
temporalLayer == 0 && temporalLayer == 0 &&
this->provisionalTargetSpatialLayer > -1 && this->provisionalTargetSpatialLayer > -1 &&
spatialLayer > this->provisionalTargetSpatialLayer spatialLayer > this->provisionalTargetSpatialLayer
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论