Skip to content

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

Mutes video elements.

Boris Grozeva2ad7b8f53b7
diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js
index 0bce83fc37..2063eca014 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;