liuyu 5 gadi atpakaļ
vecāks
revīzija
09f8aeb606
1 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. 7 7
      src/layout/live/detailmetting.vue

+ 7 - 7
src/layout/live/detailmetting.vue

@@ -231,16 +231,16 @@ export default {
           console.error('failed to subscribe remoteStream');
         });
       });
-      this.client_.on('unmute-video', event => {
-        const remoteStream = event.stream;
-        // 订阅远端音频和视频流
-        this.index = this.index - 1;
-        console.log('222--index---->' + this.index);
-      });
+      // this.client_.on('unmute-video', event => {
+      //   const remoteStream = event.stream;
+      //   // 订阅远端音频和视频流
+      //   this.index = this.index - 1;
+      //   console.log('222--index---->' + this.index);
+      // });
       this.client_.on('mute-video', event => {
         const remoteStream = event.stream;
         // 订阅远端音频和视频流
-        // this.index = this.index - 1;
+        this.index = this.index - 1;
         console.log('333--index---->' + this.index);
       });
     },