mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
fix:客户端拾音模式日志bug
This commit is contained in:
parent
18482993d7
commit
e4b6f4243c
1 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ async def handleTextMessage(conn, message):
|
|||
elif msg_json["type"] == "listen":
|
||||
if "mode" in msg_json:
|
||||
conn.client_listen_mode = msg_json["mode"]
|
||||
logger.bind(tag=TAG).debug(f"客户端拾音模式:{conn. client_listen_mode}")
|
||||
logger.bind(tag=TAG).debug(f"客户端拾音模式:{conn.client_listen_mode}")
|
||||
if msg_json["state"] == "start":
|
||||
conn.client_have_voice = True
|
||||
conn.client_voice_stop = False
|
||||
|
|
|
|||
Loading…
Reference in a new issue