From a2ad7b8f53b7ba560e7253a27afd86fd934c903d Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Wed, 28 Oct 2015 12:04:34 -0500 Subject: [PATCH] Mutes video elements. --- modules/UI/videolayout/SmallVideo.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js index 0bce83fc3..2063eca01 100644 --- a/modules/UI/videolayout/SmallVideo.js +++ b/modules/UI/videolayout/SmallVideo.js @@ -109,6 +109,9 @@ SmallVideo.createStreamElement = function (stream) { var element = isVideo ? document.createElement('video') : document.createElement('audio'); + if (isVideo) { + element.setAttribute("muted", "true"); + } if (!RTCBrowserType.isIExplorer()) { element.autoplay = true;