Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

Revert "fix(runtime/go): websocket client premature close in offline mode (#2834)"

游雁eb5d0574f2b9
diff --git a/runtime/golang/websocket/go_ws_client.go b/runtime/golang/websocket/go_ws_client.go
index eaf69a4aa..d20922171 100644
--- a/runtime/golang/websocket/go_ws_client.go
+++ b/runtime/golang/websocket/go_ws_client.go
@@ -330,9 +330,9 @@ func message(id string) {
text_print += fmt.Sprintf("%s ", text)
}
fmt.Println("\rpid" + id + ": " + wav_name + ": " + text_print)
+ offline_msg_done = true
}
}
- offline_msg_done = true
}
func wsClient(id, chunk_begin, chunk_size int, done chan bool) {