ucservice 2.2.5 → 2.2.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.
@@ -15384,7 +15384,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15384
15384
  if (!CONST_CODE.STATUS_CODE_ARR.includes(result.error_code + '')) {
15385
15385
  //videoListener.dispatch('afterclose', self);
15386
15386
  //播放失败 关闭视频
15387
- if (result.error_code + '' != '4001') self.close('err');
15387
+ self.close('err', result.error_code + '');
15388
15388
 
15389
15389
  if (self.isLockVideo) {
15390
15390
  setTimeout(function () {
@@ -15693,7 +15693,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15693
15693
 
15694
15694
  console.log("视频播放:分屏=" + (this.index + 1) + ",设备ID=" + video);
15695
15695
  },
15696
- close: function (type) {
15696
+ close: function (type, code) {
15697
15697
  if (!type) {
15698
15698
  this.isLockVideo = false;
15699
15699
  this.tagBox.parent().find('.lock-video-btn').attr("class", "unlock-video-btn");
@@ -15713,7 +15713,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15713
15713
  "message": _hangup
15714
15714
  });
15715
15715
  this.sipcall.hangup();
15716
- this.tagBox.hide();
15716
+ code != '4001' && this.tagBox.hide();
15717
15717
  this.isClosing = true;
15718
15718
  this.playing = false;
15719
15719
  this.video = null;
Binary file