Misc/minor clean up. (#3183)

Cosmetic. While thinking through how to structure probing better,
noticing small things here and there. Cleaning up and making some small
PRs along the way.
This commit is contained in:
Raja Subramanian
2024-11-17 12:14:46 +05:30
committed by GitHub
parent aa2ce22655
commit cd718c84f6
11 changed files with 85 additions and 79 deletions
+2 -3
View File
@@ -458,12 +458,11 @@ func NewPCTransport(params TransportParams) (*PCTransport, error) {
if params.CongestionControlConfig.UseSendSideBWE || params.UseSendSideBWE {
params.Logger.Infow("using send side BWE")
ssbwe := sendsidebwe.NewSendSideBWE(sendsidebwe.SendSideBWEParams{
t.bwe = sendsidebwe.NewSendSideBWE(sendsidebwe.SendSideBWEParams{
Config: params.CongestionControlConfig.SendSideBWE,
Logger: params.Logger,
})
t.pacer = pacer.NewNoQueue(params.Logger, ssbwe)
t.bwe = ssbwe
t.pacer = pacer.NewNoQueue(params.Logger, t.bwe)
} else {
t.bwe = remotebwe.NewRemoteBWE(remotebwe.RemoteBWEParams{
Config: params.CongestionControlConfig.RemoteBWE,