From 6c5271b91101113ebb998e77443d1536ddf929ad Mon Sep 17 00:00:00 2001
From: zhaomingwork <zhaomingwork@qq.com>
Date: 星期五, 12 五月 2023 15:37:34 +0800
Subject: [PATCH] modified ws_clinet.py to parallel handle wavs in diff process
---
funasr/runtime/websocket/websocketsrv.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/funasr/runtime/websocket/websocketsrv.h b/funasr/runtime/websocket/websocketsrv.h
index dea656f..1899f57 100644
--- a/funasr/runtime/websocket/websocketsrv.h
+++ b/funasr/runtime/websocket/websocketsrv.h
@@ -89,9 +89,7 @@
// use map to keep the received samples data from one connection in offline
// engine. if for online engline, a data struct is needed(TODO)
- std::map<websocketpp::connection_hdl, std::shared_ptr<std::vector<char>>,
- std::owner_less<websocketpp::connection_hdl>>
- sample_map;
+
std::map<websocketpp::connection_hdl, std::shared_ptr<FUNASR_MESSAGE>,
std::owner_less<websocketpp::connection_hdl>>
--
Gitblit v1.9.1