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

Function err

runtime/html5/static/recorder-core.js:1182–1186  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

1180 };
1181 };
1182 var err=function(msg){
1183 This.CLog("结束录音失败:"+msg,1);
1184 False&&False(msg);
1185 end();
1186 };
1187 var ok=function(blob,duration){
1188 This.CLog("结束录音 编码花"+(Date.now()-t1)+"ms 音频时长"+duration+"ms 文件大小"+blob.size+"b");
1189 if(set.takeoffEncodeChunk){//接管了输出,此时blob长度为0

Callers 2

okFunction · 0.70
recorder-core.jsFile · 0.70

Calls 1

endFunction · 0.70

Tested by

no test coverage detected