mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update ERROR msg
This commit is contained in:
parent
8ec8c071dc
commit
652627e6df
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user