ucservice 2.4.4 → 2.4.6

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.
@@ -15457,6 +15457,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15457
15457
  });
15458
15458
  },
15459
15459
  error: function (error) {
15460
+ if (error.name == 'NotAllowedError') {
15461
+ alert('请检查PC设备的摄像头和麦克风并允许浏览器使用它们,以便进行视频通话。');
15462
+ }
15463
+
15460
15464
  console.error('incomingcall', error); // let body = { "request": "decline", "code": 480 };
15461
15465
  // self.sipcall.send({"message": body});
15462
15466
  }
@@ -23107,6 +23111,7 @@ function Janus(gatewayCallbacks) {
23107
23111
  }
23108
23112
 
23109
23113
  config.mySdp = answer.sdp;
23114
+ debugger;
23110
23115
  config.pc.setLocalDescription(answer).catch(callbacks.error);
23111
23116
  config.mediaConstraints = mediaConstraints;
23112
23117
 
Binary file