liugz18
2024-07-18 d80ac2fd2df4e7fb8a28acfa512bb11472b5cc99
runtime/html5/static/wsconnecter.js
@@ -71,6 +71,7 @@
         "wav_name":  "h5",
         "is_speaking":  true,
         "chunk_interval":10,
         "itn":getUseITN(),
         "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);