ucservice 2.4.6 → 2.4.8

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.
@@ -15449,7 +15449,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15449
15449
  },
15450
15450
  error: function (error) {
15451
15451
  if (error.name == 'NotAllowedError') {
15452
- alert('请检查PC设备的摄像头和麦克风并允许浏览器使用它们,以便进行视频通话。');
15452
+ alert('请检查PC设备的麦克风并允许浏览器使用它们,以便进行视频通话。');
15453
15453
  }
15454
15454
 
15455
15455
  console.error('incomingcall', error); // let body = { "request": "decline", "code": 480 };
@@ -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