ucservice 2.2.4 → 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.
@@ -15250,7 +15250,6 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15250
15250
 
15251
15251
  if (isShowReplayBtn && code != "4002") {
15252
15252
  $("#replay-" + videoObj.index).unbind("click").click(function () {
15253
- debugger;
15254
15253
  second = 0;
15255
15254
  clearInterval(timer);
15256
15255
  timer = null;
@@ -15350,7 +15349,6 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15350
15349
  promptFailed("请先登陆");
15351
15350
  }
15352
15351
 
15353
- debugger;
15354
15352
  let video = self.video;
15355
15353
 
15356
15354
  if (msg.error_code) {
@@ -15377,7 +15375,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15377
15375
  if (!CONST_CODE.STATUS_CODE_ARR.includes(result.error_code + '')) {
15378
15376
  //videoListener.dispatch('afterclose', self);
15379
15377
  //播放失败 关闭视频
15380
- if (result.error_code + '' != '4001') self.close('err');
15378
+ self.close('err', result.error_code + '');
15381
15379
 
15382
15380
  if (self.isLockVideo) {
15383
15381
  setTimeout(function () {
@@ -15686,7 +15684,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15686
15684
 
15687
15685
  console.log("视频播放:分屏=" + (this.index + 1) + ",设备ID=" + video);
15688
15686
  },
15689
- close: function (type) {
15687
+ close: function (type, code) {
15690
15688
  if (!type) {
15691
15689
  this.isLockVideo = false;
15692
15690
  this.tagBox.parent().find('.lock-video-btn').attr("class", "unlock-video-btn");
@@ -15706,7 +15704,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15706
15704
  "message": _hangup
15707
15705
  });
15708
15706
  this.sipcall.hangup();
15709
- this.tagBox.hide();
15707
+ code != '4001' && this.tagBox.hide();
15710
15708
  this.isClosing = true;
15711
15709
  this.playing = false;
15712
15710
  this.video = null;
Binary file