mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-29 01:03:51 +08:00
接收hello消息中的features信息
This commit is contained in:
@@ -142,6 +142,8 @@ class ConnectionHandler:
|
||||
) # 在原来第一道关闭的基础上加60秒,进行二道关闭
|
||||
|
||||
self.audio_format = "opus"
|
||||
# {"mcp":true} 表示启用MCP功能
|
||||
self.features = None
|
||||
|
||||
async def handle_connection(self, ws):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user