liuyu 4 lat temu
rodzic
commit
1067ff40fb
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/views/live/parts/roomsDetail.vue

+ 2 - 2
src/views/live/parts/roomsDetail.vue

@@ -74,7 +74,7 @@ export default {
         this.client_.on('stream-added', event => {
           const remoteStream = event.stream;
           // 订阅远端音频和视频流
-          this.client_.subscribe(remoteStream, { audio: true, video: true, screen: true }).catch(e => {
+          this.client_.subscribe(remoteStream, { audio: true, video: true }).catch(e => {
             console.error('failed to subscribe remoteStream');
           });
         });
@@ -142,7 +142,7 @@ export default {
   border-radius: 10px;
 }
 #look-video {
-  width: 100%;
+  width: 40%;
   height: 200px;
   grid-area: 1/1/3/4;
 }