MCPcopy Index your code
hub / github.com/modelscope/FunASR / sendEof

Method sendEof

runtime/java/FunasrWsClient.java:132–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130
131 // send json at end of wav
132 public void sendEof() {
133 try {
134 JSONObject obj = new JSONObject();
135
136 obj.put("is_speaking", new Boolean(false));
137
138 logger.info("sendEof: " + obj);
139 // return;
140
141 send(obj.toString());
142 iseof = true;
143 return;
144 } catch (Exception e) {
145 e.printStackTrace();
146 }
147 }
148
149 // function for rec wav file
150 public void recWav() {

Callers 1

recWavMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected