ucservice 1.6.0 → 1.6.1

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.
@@ -14120,6 +14120,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14120
14120
  },
14121
14121
 
14122
14122
  videoRotateSize(li, rotateIndex) {
14123
+ if (!li) return;
14123
14124
  let video = li.querySelector('video');
14124
14125
  let videoWidth = video.videoWidth;
14125
14126
  let videoHeight = video.videoHeight;
@@ -15611,7 +15612,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15611
15612
  this.packetsLostSum = 0;
15612
15613
  this.packetsReceivedSum = 0; //清除显示的视频信息
15613
15614
 
15614
- document.getElementById('info-' + (Number(this.index) + Number(1))).innerHTML = ''; //隐藏视频信息
15615
+ if (document.getElementById('info-' + (Number(this.index) + Number(1)))) document.getElementById('info-' + (Number(this.index) + Number(1))).innerHTML = ''; //隐藏视频信息
15615
15616
 
15616
15617
  this.tagBox.parent().find('.info').hide(); //隐藏音频喇叭
15617
15618
 
Binary file