Files
livekit/pkg/sfu
Alexey Sokolov c039769607 Issue #1 only: Fix spatial layer initialization in Forwarder (#4003)
When SetMaxSpatialLayer() is called with target/current layers in
InvalidLayerSpatial state, opportunistically initialize the target
layer to avoid dropped packets during async stream allocator
initialization.

Guards:
- Only sets target if not congestion-throttled (isDeficientLocked)
- Does not set current layer (deferred to keyframe-based forwarder start)
- Logs at Debug level to avoid log noise

This prevents undefined layer state during manual subscription
with immediate quality upgrades (WithAutoSubscribe(false) +
SetVideoQuality(HIGH)).
2025-10-21 12:54:05 +05:30
..
2024-12-20 07:16:14 +05:30
2025-09-14 09:41:40 +05:30
2024-05-24 17:43:28 +08:00
2023-07-27 16:43:19 -07:00
2021-11-08 20:56:53 -08:00
2025-10-09 00:16:56 +05:30
2023-07-27 16:43:19 -07:00