feat(jaas) allow tile view to be disabled
This commit is contained in:
parent
80d789879c
commit
dd8b220ff9
|
@ -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
|
||||
|
||||
|
|
|
@ -91,6 +91,7 @@ export default [
|
|||
'disableRtx',
|
||||
'disableSimulcast',
|
||||
'disableThirdPartyRequests',
|
||||
'disableTileView',
|
||||
'displayJids',
|
||||
'doNotStoreRoom',
|
||||
'e2eping',
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue