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.
@@ -23111,7 +23111,6 @@ function Janus(gatewayCallbacks) {
23111
23111
  }
23112
23112
 
23113
23113
  config.mySdp = answer.sdp;
23114
- debugger;
23115
23114
  config.pc.setLocalDescription(answer).catch(callbacks.error);
23116
23115
  config.mediaConstraints = mediaConstraints;
23117
23116
 
@@ -31599,12 +31598,12 @@ const loadJson = function (url, param, backSuccfn, async, method, headers, conte
31599
31598
  if (backSuccfn) backSuccfn(null);
31600
31599
  throw new Error('请求失败!');
31601
31600
  }).done(function (ret) {
31601
+ if (backSuccfn) backSuccfn(ret);
31602
+
31602
31603
  if (!ret || ret.code != 0) {
31603
31604
  console.error('加载数据失败:' + JSON.stringify(ret) + ", " + url);
31604
31605
  throw new Error('加载数据失败!');
31605
31606
  }
31606
-
31607
- if (backSuccfn) backSuccfn(ret);
31608
31607
  });
31609
31608
  };
31610
31609
  /**
Binary file