ソースを参照

Updates a call to setMute().

master
bgrozev 10年前
コミット
a7058747ac
1個のファイルの変更3行の追加6行の削除
  1. 3
    6
      modules/RTC/RTC.js

+ 3
- 6
modules/RTC/RTC.js ファイルの表示

@@ -72,14 +72,11 @@ var RTC = {
72 72
             this.localStreams[0].getOriginalStream() != stream)
73 73
             this.localStreams.push(localStream);
74 74
         if(isMuted === true)
75
-            localStream.setMute(false);
75
+            localStream.setMute(true);
76 76
 
77
-        if(type == "audio")
78
-        {
77
+        if(type == "audio") {
79 78
             this.localAudio = localStream;
80
-        }
81
-        else
82
-        {
79
+        } else {
83 80
             this.localVideo = localStream;
84 81
         }
85 82
         var eventType = StreamEventTypes.EVENT_TYPE_LOCAL_CREATED;

読み込み中…
キャンセル
保存