update ERROR msg

This commit is contained in:
雾聪 2024-01-23 15:50:20 +08:00
parent 8ec8c071dc
commit 652627e6df

View File

@ -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) {