Browse Source

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

Follows me and switching to tile view, still works.
j8
damencho 4 years ago
parent
commit
d97f46c163
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      react/features/video-layout/functions.js

+ 5
- 0
react/features/video-layout/functions.js View File

@@ -90,6 +90,8 @@ export function shouldDisplayTileView(state: Object = {}) {
90 90
         return tileViewEnabled;
91 91
     }
92 92
 
93
+    const { iAmRecorder } = state['features/base/config'];
94
+
93 95
     // None tile view mode is easier to calculate (no need for many negations), so we do
94 96
     // that and negate it only once.
95 97
     const shouldDisplayNormalMode = Boolean(
@@ -107,6 +109,9 @@ export function shouldDisplayTileView(state: Object = {}) {
107 109
 
108 110
         // There is a shared YouTube video in the meeting
109 111
         || isYoutubeVideoPlaying(state)
112
+
113
+        // We want jibri to use stage view by default
114
+        || iAmRecorder
110 115
     );
111 116
 
112 117
     return !shouldDisplayNormalMode;

Loading…
Cancel
Save