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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ucservice",
3
3
  "private": false,
4
- "version": "1.6.0",
4
+ "version": "1.6.1",
5
5
  "description": "统一通信服务",
6
6
  "main": "dist/ucservice.common.js",
7
7
  "style": "ucservice.css",
@@ -2216,6 +2216,7 @@
2216
2216
  },
2217
2217
 
2218
2218
  videoRotateSize(li, rotateIndex){
2219
+ if(!li) return
2219
2220
  let video = li.querySelector('video');
2220
2221
  let videoWidth = video.videoWidth;
2221
2222
  let videoHeight = video.videoHeight;
@@ -3593,6 +3594,7 @@
3593
3594
  this.packetsLostSum = 0;
3594
3595
  this.packetsReceivedSum = 0;
3595
3596
  //清除显示的视频信息
3597
+ if(document.getElementById('info-' + (Number(this.index) + Number(1))))
3596
3598
  document.getElementById('info-' + (Number(this.index) + Number(1))).innerHTML = '';
3597
3599
  //隐藏视频信息
3598
3600
  this.tagBox.parent().find('.info').hide();