游雁
2024-02-19 94de39dde2e616a01683c518023d0fab72b4e103
runtime/html5/static/wsconnecter.js
@@ -71,6 +71,7 @@
         "wav_name":  "h5",
         "is_speaking":  true,
         "chunk_interval":10,
         "itn":false,
         "mode":getAsrMode(),
         
      };
@@ -85,12 +86,13 @@
      }
      
      var hotwords=getHotwords();
      if(hotwords.length>0)
      if(hotwords!=null  )
      {
         request.hotwords=hotwords;
      }
      console.log(request);
      speechSokt.send( JSON.stringify(request) );
      console.log(JSON.stringify(request));
      speechSokt.send(JSON.stringify(request));
      console.log("连接成功");
      stateHandle(0);