From a7058747ac84f463c2106844d56d5811228b2042 Mon Sep 17 00:00:00 2001 From: bgrozev Date: Thu, 30 Jul 2015 10:51:50 -0500 Subject: [PATCH] Updates a call to setMute(). --- modules/RTC/RTC.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/RTC/RTC.js b/modules/RTC/RTC.js index fb218b32b..311442fad 100644 --- a/modules/RTC/RTC.js +++ b/modules/RTC/RTC.js @@ -72,14 +72,11 @@ var RTC = { this.localStreams[0].getOriginalStream() != stream) this.localStreams.push(localStream); if(isMuted === true) - localStream.setMute(false); + localStream.setMute(true); - if(type == "audio") - { + if(type == "audio") { this.localAudio = localStream; - } - else - { + } else { this.localVideo = localStream; } var eventType = StreamEventTypes.EVENT_TYPE_LOCAL_CREATED;