mirror of
https://github.com/livekit/livekit.git
synced 2026-03-31 00:15:38 +00:00
* Loss based congestion signal detector. It uses the same approach of thresholding + duration to detect region of operation and further derive early warning/congested states. A gutter is used for indeterminate region just like the queuing delay based case. The two approaches (queuing delay and loss) are treated independently, i. e. packet groups have to satify the same type of condition (queuing delay OR loss) to build up congestion. The aggregate congestion signal is triggered if either one triggers. Maybe, there is a way to accept hybrid signalling (i. e. each group satisfying either threhsold adds up to congestion signal detection), but needs more experimentation. For now, keeping them separate. * apply max threshold * clean up * spelling