Send side BWE - fixes (#3244)

* WIP

* no worker

* fixes

* use congested packet groups

* oldest group

* markers

* WIP

* WIP

* WIP

* WIP

* WIP

* clean up

* fmt

* consolidate

* store last packet only for bwe extension cases
This commit is contained in:
Raja Subramanian
2024-12-11 21:31:26 +05:30
committed by GitHub
parent d0f7eaeadb
commit 4b16017d09
14 changed files with 403 additions and 349 deletions
+2 -9
View File
@@ -59,7 +59,7 @@ type SendSideBWEConfig struct {
var (
DefaultSendSideBWEConfig = SendSideBWEConfig{
CongestionDetector: DefaultCongestionDetectorConfig,
CongestionDetector: defaultCongestionDetectorConfig,
}
)
@@ -93,14 +93,7 @@ func (s *SendSideBWE) SetBWEListener(bweListener bwe.BWEListener) {
}
func (s *SendSideBWE) Reset() {
s.congestionDetector = newCongestionDetector(congestionDetectorParams{
Config: s.params.Config.CongestionDetector,
Logger: s.params.Logger,
})
}
func (s *SendSideBWE) Stop() {
s.congestionDetector.Stop()
s.congestionDetector.Reset()
}
func (s *SendSideBWE) RecordPacketSendAndGetSequenceNumber(