Parcourir la source

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

Follows me and switching to tile view, still works.
master
damencho il y a 5 ans
Parent
révision
d97f46c163
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5
    0
      react/features/video-layout/functions.js

+ 5
- 0
react/features/video-layout/functions.js Voir le fichier

@@ -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;

Chargement…
Annuler
Enregistrer