Skip to content

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

feat: Skips the default tile view when jibri is loading.

damenchod97f46c163a8
diff --git a/react/features/video-layout/functions.js b/react/features/video-layout/functions.js
index cf0eed1530..e77de62f5e 100644
--- a/react/features/video-layout/functions.js
+++ b/react/features/video-layout/functions.js
@@ -90,6 +90,8 @@ export function shouldDisplayTileView(state: Object = {}) {
return tileViewEnabled;
}
+ const { iAmRecorder } = state['features/base/config'];
+
// None tile view mode is easier to calculate (no need for many negations), so we do
// that and negate it only once.
const shouldDisplayNormalMode = Boolean(
@@ -107,6 +109,9 @@ export function shouldDisplayTileView(state: Object = {}) {
// There is a shared YouTube video in the meeting
|| isYoutubeVideoPlaying(state)
+
+ // We want jibri to use stage view by default
+ || iAmRecorder
);
return !shouldDisplayNormalMode;