新交互逻辑,长按/短按

This commit is contained in:
IrvingGao committed 2024-05-23 16:07:23 +08:00
1 parent 8255cc8c68
commit 346559fb90
7 files changed
+280 -117

No files matched your search

+6
View File
@@ -117,6 +117,12 @@ class BaseWebSocketClient:
'''
self.websocket = create_connection(self.server_url)
def close_client(self):
'''
Close the client.
'''
self.websocket.close()
def send_per_data(self,
text: str = '',
audio: bytes = b'',