Browse Source

Merge pull request #8352 from jitsi/tavram/allow-tileview-disabling

feat(jaas) allow tile view to be disabled
j8
Avram Tudor 4 years ago
parent
commit
6f5534fcb6
No account linked to committer's email address

+ 3
- 0
config.js View File

623
     // otherwise the app doesn't render it.
623
     // otherwise the app doesn't render it.
624
     // moderatedRoomServiceUrl: 'https://moderated.jitsi-meet.example.com',
624
     // moderatedRoomServiceUrl: 'https://moderated.jitsi-meet.example.com',
625
 
625
 
626
+    // If true, tile view will not be enabled automatically when the participants count threshold is reached.
627
+    // disableTileView: true,
628
+
626
     // Hides the conference subject
629
     // Hides the conference subject
627
     // hideConferenceSubject: true
630
     // hideConferenceSubject: true
628
 
631
 

+ 1
- 0
react/features/base/config/configWhitelist.js View File

91
     'disableRtx',
91
     'disableRtx',
92
     'disableSimulcast',
92
     'disableSimulcast',
93
     'disableThirdPartyRequests',
93
     'disableThirdPartyRequests',
94
+    'disableTileView',
94
     'displayJids',
95
     'displayJids',
95
     'doNotStoreRoom',
96
     'doNotStoreRoom',
96
     'e2eping',
97
     'e2eping',

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

82
         return false;
82
         return false;
83
     }
83
     }
84
 
84
 
85
+    const { disableTileView } = state['features/base/config'];
86
+
87
+    if (disableTileView) {
88
+        return false;
89
+    }
90
+
85
     const { tileViewEnabled } = state['features/video-layout'];
91
     const { tileViewEnabled } = state['features/video-layout'];
86
 
92
 
87
     if (tileViewEnabled !== undefined) {
93
     if (tileViewEnabled !== undefined) {

Loading…
Cancel
Save