mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-27 01:23:55 +08:00
优化相关逻辑
This commit is contained in:
@@ -192,6 +192,8 @@ class ConnectionHandler:
|
||||
|
||||
# 初始化通话状态
|
||||
self.calling = False
|
||||
# 标记当前是否为来电接听模式
|
||||
self.incoming_call = None
|
||||
|
||||
async def handle_connection(self, ws: websockets.ServerConnection):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user