* fix:找不到function卡住bug

* fix:客户端拾音模式日志bug
This commit is contained in:
Huang
2025-03-18 18:42:17 +08:00
committed by GitHub
parent bd556c33a0
commit c796af7d07
@@ -24,7 +24,7 @@ async def handleTextMessage(conn, message):
elif msg_json["type"] == "listen": elif msg_json["type"] == "listen":
if "mode" in msg_json: if "mode" in msg_json:
conn.client_listen_mode = msg_json["mode"] 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": if msg_json["state"] == "start":
conn.client_have_voice = True conn.client_have_voice = True
conn.client_voice_stop = False conn.client_voice_stop = False