Split out audio level config. (#3163)

* Split out audio level config.

Inline it in yaml as it is exposed/documented config.

* test

* default congestion control enable
This commit is contained in:
Raja Subramanian
2024-11-08 21:36:38 +05:30
committed by GitHub
parent 86383b2271
commit 653857e42b
5 changed files with 52 additions and 36 deletions
+4 -1
View File
@@ -126,7 +126,7 @@ type CongestionControlConfig struct {
Enabled bool `yaml:"enabled,omitempty"`
AllowPause bool `yaml:"allow_pause,omitempty"`
StreamAllocator streamallocator.StreamAllocatorConfig `yaml:"stream_allocator,omitempty"`
UseSendSideBWE bool `yaml:"send_side_bandwidth_estimation,omitempty"`
UseSendSideBWE bool `yaml:"use_send_side_bwe,omitempty"`
}
type PlayoutDelayConfig struct {
@@ -305,7 +305,10 @@ var DefaultConfig = Config{
StrictACKs: true,
PLIThrottle: sfu.DefaultPLIThrottleConfig,
CongestionControl: CongestionControlConfig{
Enabled: true,
AllowPause: false,
StreamAllocator: streamallocator.DefaultStreamAllocatorConfig,
UseSendSideBWE: false,
},
},
Audio: sfu.DefaultAudioConfig,