ucservice 2.4.6 → 2.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23102,7 +23102,6 @@ function Janus(gatewayCallbacks) {
23102
23102
  }
23103
23103
 
23104
23104
  config.mySdp = answer.sdp;
23105
- debugger;
23106
23105
  config.pc.setLocalDescription(answer).catch(callbacks.error);
23107
23106
  config.mediaConstraints = mediaConstraints;
23108
23107
 
@@ -31590,12 +31589,12 @@ const loadJson = function (url, param, backSuccfn, async, method, headers, conte
31590
31589
  if (backSuccfn) backSuccfn(null);
31591
31590
  throw new Error('请求失败!');
31592
31591
  }).done(function (ret) {
31592
+ if (backSuccfn) backSuccfn(ret);
31593
+
31593
31594
  if (!ret || ret.code != 0) {
31594
31595
  console.error('加载数据失败:' + JSON.stringify(ret) + ", " + url);
31595
31596
  throw new Error('加载数据失败!');
31596
31597
  }
31597
-
31598
- if (backSuccfn) backSuccfn(ret);
31599
31598
  });
31600
31599
  };
31601
31600
  /**
Binary file