mirror of
https://github.com/livekit/livekit.git
synced 2026-08-29 07:39:09 +00:00
tune audio level sensitivity
This commit is contained in:
@@ -61,8 +61,8 @@ func NewConfig(confString string) (*Config, error) {
|
||||
},
|
||||
Audio: AudioConfig{
|
||||
ActiveLevel: 40,
|
||||
MinPercentile: 20,
|
||||
UpdateInterval: 1000,
|
||||
MinPercentile: 15,
|
||||
UpdateInterval: 500,
|
||||
},
|
||||
Redis: RedisConfig{},
|
||||
Keys: map[string]string{},
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
const (
|
||||
// number of samples to compute moving average over
|
||||
averageSamples = 40
|
||||
averageSamples = 30
|
||||
silentAudioLevel = uint8(127)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user