liuyu 5 년 전
부모
커밋
6f6de5a22c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/live/parts/roomsDetail.vue

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

@@ -72,7 +72,7 @@ export default {
         this.client_.on('stream-added', event => {
           const remoteStream = event.stream;
           // 订阅远端音频和视频流
-          this.client_.subscribe(remoteStream, { audio: true, video: true }).catch(e => {
+          this.client_.subscribe(remoteStream, { audio: false, video: true }).catch(e => {
             console.error('failed to subscribe remoteStream');
           });
         });