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.
@@ -15448,6 +15448,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15448
15448
  });
15449
15449
  },
15450
15450
  error: function (error) {
15451
+ if (error.name == 'NotAllowedError') {
15452
+ alert('请检查PC设备的摄像头和麦克风并允许浏览器使用它们,以便进行视频通话。');
15453
+ }
15454
+
15451
15455
  console.error('incomingcall', error); // let body = { "request": "decline", "code": 480 };
15452
15456
  // self.sipcall.send({"message": body});
15453
15457
  }
@@ -23098,6 +23102,7 @@ function Janus(gatewayCallbacks) {
23098
23102
  }
23099
23103
 
23100
23104
  config.mySdp = answer.sdp;
23105
+ debugger;
23101
23106
  config.pc.setLocalDescription(answer).catch(callbacks.error);
23102
23107
  config.mediaConstraints = mediaConstraints;
23103
23108
 
Binary file