From 6fa047c07d457ae2067a99d1689928cbfb9aa489 Mon Sep 17 00:00:00 2001 From: seven Date: Tue, 25 Mar 2025 21:47:21 +0800 Subject: [PATCH] add --- main/xiaozhi-server/core/handle/sendAudioHandle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/xiaozhi-server/core/handle/sendAudioHandle.py b/main/xiaozhi-server/core/handle/sendAudioHandle.py index d667ce4eb..4016dc79e 100644 --- a/main/xiaozhi-server/core/handle/sendAudioHandle.py +++ b/main/xiaozhi-server/core/handle/sendAudioHandle.py @@ -38,7 +38,7 @@ async def sendAudio(conn, audios): for opus_packet in audios: if count < 3: await conn.websocket.send(opus_packet) - conn.logger.bind(tag=TAG).debug(f"预缓冲帧 {i}, 时间: {(time.perf_counter() - start_time) * 1000:.2f}ms") + conn.logger.bind(tag=TAG).debug(f"预缓冲帧 {count}, 时间: {(time.perf_counter() - start_time) * 1000:.2f}ms") else: if conn.client_abort: return