mirror of
https://github.com/livekit/livekit.git
synced 2026-11-05 21:58:01 +00:00
A client sets SimulcastCodec.VideoLayerMode on AddTrack. Any value other than MODE_UNUSED is used as-is, so a forged out-of-range value flows into the forwarder. Reject it in ValidVideoLayers, alongside the quality check. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>