Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Updates a call to setMute().

bgrozeva7058747ac84
diff --git a/modules/RTC/RTC.js b/modules/RTC/RTC.js
index fb218b32b1..311442fad7 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;