mirror of
https://github.com/livekit/livekit.git
synced 2026-04-26 15:17:35 +00:00
Use max layer subscription of down tracks to prioritize bandwidth allocation. The ordering is - Highest spatial layer - Highest temporal layer, if spatial layer matches - Down track id if both layers match (this is to prevent unnecessary re-ordering) Testing: -------- (Really need to make a DownTrack interface so that we can mock it and use it in tests) For now, just a sanity check.