Cleaning up unused stream allocator experiments. (#3237)

Not sure if we will ever use it. Can bring it back if needed.
This commit is contained in:
Raja Subramanian
2024-12-08 13:00:58 +05:30
committed by GitHub
parent 7c5a558a48
commit c172ba13e6
10 changed files with 54 additions and 647 deletions
@@ -817,7 +817,6 @@ func (c *congestionDetector) processFeedbackReport(fbr feedbackReport) {
// previous group ended, start a new group
c.updateCTRTrend(pg)
// SSBWE-REMOVE c.params.Logger.Infow("packet group done", "group", pg, "numGroups", len(c.packetGroups)) // SSBWE-REMOVE
pg = newPacketGroup(
packetGroupParams{
Config: c.params.Config.PacketGroup,
@@ -76,7 +76,6 @@ func (p *packetTracker) RecordPacketSendAndGetSequenceNumber(
probeClusterId: probeClusterId,
isProbe: isProbe,
}
//p.params.Logger.Infow("send side bwe: packet sent", "packetInfo", pi) // SSBWE-REMOVE
p.sequenceNumber++
-2
View File
@@ -66,7 +66,6 @@ func newTWCCFeedback(params twccFeedbackParams) *twccFeedback {
}
func (t *twccFeedback) ProcessReport(report *rtcp.TransportLayerCC, at time.Time) (int64, bool) {
// t.params.Logger.Infow("send side bwe: TWCC feedback", "report", report.String()) // SSBWE-REMOVE
t.numReports++
if t.lastFeedbackTime.IsZero() {
t.lastFeedbackTime = at
@@ -99,7 +98,6 @@ func (t *twccFeedback) ProcessReport(report *rtcp.TransportLayerCC, at time.Time
if !isOutOfOrder {
sinceLast := at.Sub(t.lastFeedbackTime)
// t.params.Logger.Infow("send side bwe: report received", "at", at, "sinceLast", sinceLast, "pktCount", report.FbPktCount) // SSBWE-REMOVE
if t.estimatedFeedbackInterval == 0 {
t.estimatedFeedbackInterval = sinceLast
} else {