mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 13:12:09 +00:00
tune audio level sensitivity
This commit is contained in:
1 parent
e402d0d0af
commit
6be0c99fcc
2 files changed
+3
-3
No files matched your search
@@ -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