Stop forwarding on congestion (#429)

* WIP commit

* comment out debug stuff
This commit is contained in:
Raja Subramanian
2022-02-11 09:17:53 +05:30
committed by GitHub
parent 8680f6fd23
commit a6338992e8
7 changed files with 37 additions and 19 deletions
+4 -5
View File
@@ -65,10 +65,8 @@ type RTCConfig struct {
// Throttle periods for pli/fir rtcp packets
PLIThrottle PLIThrottleConfig `yaml:"pli_throttle,omitempty"`
// Which side runs bandwidth estimation
UseSendSideBWE bool `yaml:"send_side_bandwidth_estimation,omitempty"`
CongestionControl CongestionControlConfig `yaml:"congestion_control,omitempty"`
// for testing, disable UDP
ForceTCP bool `yaml:"force_tcp,omitempty"`
}
@@ -88,8 +86,9 @@ type PLIThrottleConfig struct {
}
type CongestionControlConfig struct {
Enabled bool `yaml:"enabled"`
AllowPause bool `yaml:"allow_pause"`
Enabled bool `yaml:"enabled"`
AllowPause bool `yaml:"allow_pause"`
UseSendSideBWE bool `yaml:"send_side_bandwidth_estimation,omitempty"`
}
type AudioConfig struct {