Skip to content

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

fix(conference): disable video icon

paweldomas21957c8bf2d1
diff --git a/conference.js b/conference.js
index c608543676..d46c43dbaf 100644
--- a/conference.js
+++ b/conference.js
@@ -629,6 +629,13 @@ export default {
// the video later on, even if joined without it.
this.videoMuted = true;
APP.UI.setVideoMuted(this.getMyUserId(), this.videoMuted);
+ // FIXME this is a workaround for the situation where
+ // both audio and video permissions are rejected initially
+ // and the callback from _initDeviceList will never be
+ // executed (GUM not initialized - check lib-jitsi-meet).
+ // The goal here is to disable the video icon in case no
+ // video permissions were granted.
+ this.updateVideoIconEnabled();
}
this._initDeviceList();