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