mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
add
This commit is contained in:
parent
ee2e447e42
commit
6fa047c07d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue