雾聪
2023-08-24 ae5917b6b899b5f02c1a840a76bf5cd975105cd0
funasr/runtime/html5/static/wsconnecter.js
@@ -72,7 +72,17 @@
         "is_speaking":  true,
         "chunk_interval":10,
         "mode":getAsrMode(),
      };
      if(isfilemode)
      {
         request.wav_format=file_ext;
      }
      var hotwords=getHotwords();
      if(hotwords.length>0)
      {
         request.hotwords=hotwords;
      }
      console.log(request);
      speechSokt.send( JSON.stringify(request) );
      console.log("连接成功");