From c0020c8769b239f907463bd32da0d32b2d0aa616 Mon Sep 17 00:00:00 2001 From: hrz <1710360675@qq.com> Date: Sat, 10 May 2025 01:14:51 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E4=BF=AE=E5=A4=8D=E7=AB=8B?= =?UTF-8?q?=E5=88=9B1.6.2=E5=9B=BA=E4=BB=B6=E4=B8=80=E7=9B=B4=E8=81=86?= =?UTF-8?q?=E5=90=AC=E4=B8=ADbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/xiaozhi-server/core/handle/receiveAudioHandle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/xiaozhi-server/core/handle/receiveAudioHandle.py b/main/xiaozhi-server/core/handle/receiveAudioHandle.py index 4d000972..352d0656 100644 --- a/main/xiaozhi-server/core/handle/receiveAudioHandle.py +++ b/main/xiaozhi-server/core/handle/receiveAudioHandle.py @@ -16,7 +16,7 @@ async def handleAudioMessage(conn, audio): if not conn.asr_server_receive: conn.logger.bind(tag=TAG).debug(f"前期数据处理中,暂停接收") return - if conn.client_listen_mode == "auto": + if conn.client_listen_mode == "auto" or conn.client_listen_mode == "realtime": have_voice = conn.vad.is_vad(conn, audio) else: have_voice = conn.client_have_voice