ソースを参照

!176 fix: 语音通话会听到自己声音的bug
Merge pull request !176 from blue/v_3.0.0

blue 3 ヶ月 前
コミット
90797e2263
1 ファイル変更1 行追加0 行削除
  1. 1 0
      im-web/src/components/rtc/RtcPrivateVideo.vue

+ 1 - 0
im-web/src/components/rtc/RtcPrivateVideo.vue

@@ -298,6 +298,7 @@ export default {
           this.camera.openAudio().then((stream) => {
             this.localStream = stream;
             this.$refs.localVideo.srcObject = stream;
+            this.$refs.localVideo.muted = true;
             resolve(stream);
           }).catch((e) => {
             this.$message.error("打开麦克风失败")