update: 优化vad判断逻辑

This commit is contained in:
Sakura-RanChen
2025-10-20 11:45:50 +08:00
parent 2e6aced1bd
commit c06a7b1db6
5 changed files with 20 additions and 23 deletions
@@ -33,7 +33,7 @@ async def handleAudioMessage(conn, audio):
async def resume_vad_detection(conn):
# 等待2秒后恢复VAD检测
await asyncio.sleep(1)
await asyncio.sleep(2)
conn.just_woken_up = False