Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
update ssl
雾聪29ce4c1526b9
diff --git a/runtime/websocket/bin/funasr-wss-server-2pass.cpp b/runtime/websocket/bin/funasr-wss-server-2pass.cppindex 258d537be..4b425338c 100644--- a/runtime/websocket/bin/funasr-wss-server-2pass.cpp+++ b/runtime/websocket/bin/funasr-wss-server-2pass.cpp@@ -439,7 +439,7 @@ int main(int argc, char* argv[]) {funasr::ExtractHws(hotword_path, hws_map_);bool is_ssl = false;- if (!s_certfile.empty()) {+ if (!s_certfile.empty() && access(s_certfile.c_str(), F_OK) == 0) {is_ssl = true;}diff --git a/runtime/websocket/bin/funasr-wss-server.cpp b/runtime/websocket/bin/funasr-wss-server.cppindex 8d4cc997c..2732add39 100644--- a/runtime/websocket/bin/funasr-wss-server.cpp+++ b/runtime/websocket/bin/funasr-wss-server.cpp@@ -419,7 +419,7 @@ int main(int argc, char* argv[]) {funasr::ExtractHws(hotword_path, hws_map_);bool is_ssl = false;- if (!s_certfile.empty()) {+ if (!s_certfile.empty() && access(s_certfile.c_str(), F_OK) == 0) {is_ssl = true;}