mirror of
https://github.com/livekit/livekit.git
synced 2026-08-27 22:34:25 +00:00
Run bandwidth estimation when congestion is relieved also (#3380)
This commit is contained in:
@@ -1029,7 +1029,8 @@ func (c *congestionDetector) updateCTRTrend(pi *packetInfo, sendDelta, recvDelta
|
||||
}
|
||||
|
||||
func (c *congestionDetector) estimateAvailableChannelCapacity() {
|
||||
if len(c.packetGroups) == 0 || c.congestedCTRTrend != nil || c.probePacketGroup != nil {
|
||||
c.estimateTrafficStats = nil
|
||||
if len(c.packetGroups) == 0 || c.probePacketGroup != nil {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user