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:
@@ -108,9 +108,11 @@ func TestAudioLevel(t *testing.T) {
|
||||
|
||||
func createAudioLevel(activeLevel uint8, minPercentile uint8, observeDuration uint32) *AudioLevel {
|
||||
return NewAudioLevel(AudioLevelParams{
|
||||
ActiveLevel: activeLevel,
|
||||
MinPercentile: minPercentile,
|
||||
ObserveDuration: observeDuration,
|
||||
Config: AudioLevelConfig{
|
||||
ActiveLevel: activeLevel,
|
||||
MinPercentile: minPercentile,
|
||||
UpdateInterval: observeDuration,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user