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

Method close

runtime/funasr_api/funasr_core.py:156–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

154 print("feed chunk error")
155 return
156 def close(self):
157 self.connect_state==2
158 self.websocket.close()
159
160 def rec_buf(self,audio_bytes,ffmpeg_decode=False):
161 try:

Callers 15

get_resultMethod · 0.95
recorder-core.jsFile · 0.45
lockFailFunction · 0.45
endFunction · 0.45
WebSocketConnectMethodFunction · 0.45
onMessageMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
recWavMethod · 0.45
onMessageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected