mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 22:05:39 +00:00
* Use bandwidth requested from last allocation. With overshoot/opportunistic forwarding, It is possible that bitrate at target layers is 0. So, use bandwidth requested from last allocation which shouold have a correct value. Still need to think about using the latest bit rates to get the requested bandwidth. It is possible that bitrates have changed since last allocation. That was the idea behind using the latest bitrates, but it could return 0. Accounting for it runs into a few scenarios. Last allocation has number from last allocation and is a good indicator of the need. * race