feat(jaas) allow tile view to be disabled

This commit is contained in:
Tudor-Ovidiu Avram 2021-01-07 14:34:22 +02:00
parent 80d789879c
commit dd8b220ff9
3 changed files with 10 additions and 0 deletions

View File

@ -623,6 +623,9 @@ var config = {
// otherwise the app doesn't render it.
// moderatedRoomServiceUrl: 'https://moderated.jitsi-meet.example.com',
// If true, tile view will not be enabled automatically when the participants count threshold is reached.
// disableTileView: true,
// Hides the conference subject
// hideConferenceSubject: true

View File

@ -91,6 +91,7 @@ export default [
'disableRtx',
'disableSimulcast',
'disableThirdPartyRequests',
'disableTileView',
'displayJids',
'doNotStoreRoom',
'e2eping',

View File

@ -82,6 +82,12 @@ export function shouldDisplayTileView(state: Object = {}) {
return false;
}
const { disableTileView } = state['features/base/config'];
if (disableTileView) {
return false;
}
const { tileViewEnabled } = state['features/video-layout'];
if (tileViewEnabled !== undefined) {