mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
fix: 降低误判
This commit is contained in:
parent
66f382039c
commit
5afa2fdc98
1 changed files with 2 additions and 2 deletions
|
|
@ -33,8 +33,8 @@ class VADProvider(VADProviderBase):
|
|||
int(min_silence_duration_ms) if min_silence_duration_ms else 1000
|
||||
)
|
||||
|
||||
# 至少要多少帧才算有语音,增加灵敏度
|
||||
self.frame_window_threshold = 1
|
||||
# 至少要多少帧才算有语音
|
||||
self.frame_window_threshold = 3
|
||||
|
||||
def is_vad(self, conn, opus_packet):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue