MCPcopy Create free account
hub / github.com/modelscope/FunASR / _Disconn_n

Function _Disconn_n

runtime/html5/static/recorder-core.js:376–383  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

374 if(stream._ra) stream._ra(); //检查MediaRecorder连接是否有效,无效就降级处理
375};
376var _Disconn_n=function(stream){
377 stream._na=null;
378 if(stream._n){
379 stream._n.port.postMessage({kill:true});
380 stream._n.disconnect();
381 stream._n=null;
382 };
383};
384var _Disconn_r=function(stream){
385 stream._ra=null;
386 if(stream._r){

Callers 2

oldScriptFunction · 0.70
DisconnectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…