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
+5 -1
View File
@@ -38,7 +38,7 @@ type PacketGroupConfig struct {
}
var (
DefaultPacketGroupConfig = PacketGroupConfig{
defaultPacketGroupConfig = PacketGroupConfig{
MinPackets: 20,
MaxWindowDuration: 500 * time.Millisecond,
}
@@ -246,6 +246,10 @@ func (p *packetGroup) FinalizedPropagatedQueuingDelay() (int64, bool) {
return p.PropagatedQueuingDelay(), true
}
func (p *packetGroup) IsFinalized() bool {
return p.isFinalized
}
func (p *packetGroup) Traffic() *trafficStats {
return &trafficStats{
minSendTime: p.minSendTime,