ucservice 1.5.8 → 1.5.9

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.
@@ -13201,7 +13201,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13201
13201
 
13202
13202
  if (!tel && item.id) {
13203
13203
  videoLi[index].querySelector('video').style = '';
13204
- videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13204
+ if (videoLi[index].querySelector('.rotate-btn')) videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13205
13205
  } else {
13206
13206
  let rotateIndex = $(videoLi[index]).find('button[name=rotateVideo]').attr('rotate-index');
13207
13207
  setTimeout(() => {
@@ -13235,7 +13235,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13235
13235
 
13236
13236
  if (!tel && item.id) {
13237
13237
  videoLi[index].querySelector('video').style = '';
13238
- videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13238
+ if (videoLi[index].querySelector('.rotate-btn')) videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
13239
13239
  } else {
13240
13240
  let rotateIndex = $(videoLi[index]).find('button[name=rotateVideo]').attr('rotate-index');
13241
13241
  setTimeout(() => {
@@ -14725,8 +14725,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14725
14725
 
14726
14726
  for (let i = index; i < index + me._opts.windowsNum; i++) {
14727
14727
  videoHtml += '<li class="screen screen-' + i + '" index="' + (i - 1) + '" draggable="true"><video muted class="video-box" id="video-' + i + '" autoplay ></video>' + '<div class="hide info ' + position + '" id="info-' + i + '"></div>' + '<div class="hide frame-decoded" id="frame-decoded-' + i + '"style="position:absolute;float:left;color:#fff;width:67%;z-index:1;top:135px;left:180px">网络信号不佳</div>' + '<div class="operate-btn">'; //videoHtml +='<button type="button" class="unlock-video-btn hide" name="lockVideo"></button>';
14728
+ // checkUserMediaAvailable() &&
14728
14729
 
14729
- checkUserMediaAvailable() && (videoHtml += '<button type="button" class="rotate-btn hide" name="rotateVideo" rotate-index="0" title="视频旋转"></button><button type="button" class="unsend-audio-btn hide" name="sendAudio"></button>');
14730
+ videoHtml += '<button type="button" class="rotate-btn hide" name="rotateVideo" rotate-index="0" title="视频旋转"></button><button type="button" class="unsend-audio-btn hide" name="sendAudio"></button>';
14730
14731
  videoHtml += '<button type="button" class="unrecv-audio-btn hide" name="recvAudio"></button>' + '<button type="button" class="close-btn hide" name="closeVideo"></button>' + '</div>' + '</li>';
14731
14732
  }
14732
14733
 
Binary file