mirror of
https://github.com/livekit/livekit.git
synced 2026-04-14 10:55:41 +00:00
In the following scenario, PLI layer lock got stuck at the wrong layer - target is at 2 to allow overshoot - current gets to 1, but can't get higher because publisher is not publishing higher layer - max layer changed to 0 Because of adjusting for overshoot only when current == target, it never happened and layer lock PLI kept asking for layer 0. Although, key frames were received, switch did not happen. Always check for overshoot adjustment possibility against current layer.