From a4bf14f91ba1980438b7bd994d47c685cda1b6c1 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 24 八月 2023 13:50:22 +0800
Subject: [PATCH] update funasr-wss-client websocket-server
---
funasr/runtime/websocket/websocket-server.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/websocket/websocket-server.cpp b/funasr/runtime/websocket/websocket-server.cpp
index 865015a..f9febbd 100644
--- a/funasr/runtime/websocket/websocket-server.cpp
+++ b/funasr/runtime/websocket/websocket-server.cpp
@@ -100,6 +100,7 @@
LOG(INFO) << "buffer.size=" << buffer.size() << ",result json=" << jsonresult.dump();
}else{
+ LOG(INFO) << "Sent empty meg";
websocketpp::lib::error_code ec;
nlohmann::json jsonresult; // result json
jsonresult["text"] = ""; // put result in 'text'
--
Gitblit v1.9.1