Explorar o código

修改自主采摘bug

unknown %!s(int64=4) %!d(string=hai) anos
pai
achega
321800618c
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      pagesGood/pickVideo.vue
  2. 1 1
      pagesGood/trtc-room/trtc-room.vue

+ 1 - 1
pagesGood/pickVideo.vue

@@ -183,7 +183,7 @@
 					console.log('* room LOCAL_JOIN', event); // 进房成功,触发该事件后可以对本地视频和音频进行设置
 
 					if (this.options.localVideo === true || this.options.template === '1v1') {
-						this.trtcComponent.publishLocalVideo();
+						//this.trtcComponent.publishLocalVideo();
 					}
 					if (this.options.localAudio === true || this.options.template === '1v1') {
 						this.trtcComponent.publishLocalAudio();

+ 1 - 1
pagesGood/trtc-room/trtc-room.vue

@@ -37,7 +37,7 @@
 								:idAttr="item.streamID"
 							></live-player>
 						</view>
-						<view :class="'view-container pusher-container ' + (pusher.isVisible ? '' : 'none') + ' ' + (JSON.stringify(streamList) == '[]' ? 'fullscreen' : '')">
+						<view style="display:none" :class="'view-container pusher-container ' + (pusher.isVisible ? '' : 'none') + ' ' + (JSON.stringify(streamList) == '[]' ? 'fullscreen' : '')">
 							<live-pusher
 								class="pusher"
 								:url="pusher.url"