优化相关逻辑

This commit is contained in:
Sakura-RanChen
2026-06-03 16:13:03 +08:00
parent b903a88cd5
commit b9891bb795
18 changed files with 248 additions and 179 deletions
+2
View File
@@ -192,6 +192,8 @@ class ConnectionHandler:
# 初始化通话状态
self.calling = False
# 标记当前是否为来电接听模式
self.incoming_call = None
async def handle_connection(self, ws: websockets.ServerConnection):
try: