Skip to content

Commit

Permalink
update ERROR msg
Browse files Browse the repository at this point in the history
  • Loading branch information
lyblsgo committed Jan 23, 2024
1 parent 8ec8c07 commit 652627e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/websocket/bin/websocket-server-2pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 652627e

Please sign in to comment.