接收hello消息中的features信息

This commit is contained in:
myifeng
2025-05-28 11:49:18 +08:00
parent 81689c04a5
commit 19526878b3
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -142,6 +142,8 @@ class ConnectionHandler:
) # 在原来第一道关闭的基础上加60秒,进行二道关闭
self.audio_format = "opus"
# {"mcp":true} 表示启用MCP功能
self.features = None
async def handle_connection(self, ws):
try: