From 652627e6dfeacdc214c9f61f6f27cb1cc14e5882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=BE=E8=81=AA?= Date: Tue, 23 Jan 2024 15:50:20 +0800 Subject: [PATCH] update ERROR msg --- runtime/websocket/bin/websocket-server-2pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/websocket/bin/websocket-server-2pass.cpp b/runtime/websocket/bin/websocket-server-2pass.cpp index 954ffae9d..8c8cab419 100644 --- a/runtime/websocket/bin/websocket-server-2pass.cpp +++ b/runtime/websocket/bin/websocket-server-2pass.cpp @@ -211,7 +211,7 @@ void WebSocketServer::do_decoder( if(wav_format != "pcm" && wav_format != "PCM"){ websocketpp::lib::error_code ec; nlohmann::json jsonresult; - jsonresult["text"] = "ERROR. Real-time transcription service ONLY SUPPORT wav_format pcm."; + jsonresult["text"] = "ERROR. Real-time transcription service ONLY SUPPORT PCM stream."; jsonresult["wav_name"] = wav_name; jsonresult["is_final"] = true; if (is_ssl) {