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.
@@ -15259,7 +15259,6 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15259
15259
 
15260
15260
  if (isShowReplayBtn && code != "4002") {
15261
15261
  $("#replay-" + videoObj.index).unbind("click").click(function () {
15262
- debugger;
15263
15262
  second = 0;
15264
15263
  clearInterval(timer);
15265
15264
  timer = null;
@@ -15359,7 +15358,6 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15359
15358
  promptFailed("请先登陆");
15360
15359
  }
15361
15360
 
15362
- debugger;
15363
15361
  let video = self.video;
15364
15362
 
15365
15363
  if (msg.error_code) {
@@ -15386,7 +15384,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15386
15384
  if (!CONST_CODE.STATUS_CODE_ARR.includes(result.error_code + '')) {
15387
15385
  //videoListener.dispatch('afterclose', self);
15388
15386
  //播放失败 关闭视频
15389
- if (result.error_code + '' != '4001') self.close('err');
15387
+ self.close('err', result.error_code + '');
15390
15388
 
15391
15389
  if (self.isLockVideo) {
15392
15390
  setTimeout(function () {
@@ -15695,7 +15693,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15695
15693
 
15696
15694
  console.log("视频播放:分屏=" + (this.index + 1) + ",设备ID=" + video);
15697
15695
  },
15698
- close: function (type) {
15696
+ close: function (type, code) {
15699
15697
  if (!type) {
15700
15698
  this.isLockVideo = false;
15701
15699
  this.tagBox.parent().find('.lock-video-btn').attr("class", "unlock-video-btn");
@@ -15715,7 +15713,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15715
15713
  "message": _hangup
15716
15714
  });
15717
15715
  this.sipcall.hangup();
15718
- this.tagBox.hide();
15716
+ code != '4001' && this.tagBox.hide();
15719
15717
  this.isClosing = true;
15720
15718
  this.playing = false;
15721
15719
  this.video = null;
Binary file