소스 검색

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

feat(jaas) allow tile view to be disabled
j8
Avram Tudor 4 년 전
부모
커밋
6f5534fcb6
No account linked to committer's email address
3개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      config.js
  2. 1
    0
      react/features/base/config/configWhitelist.js
  3. 6
    0
      react/features/video-layout/functions.js

+ 3
- 0
config.js 파일 보기

@@ -623,6 +623,9 @@ var config = {
623 623
     // otherwise the app doesn't render it.
624 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 629
     // Hides the conference subject
627 630
     // hideConferenceSubject: true
628 631
 

+ 1
- 0
react/features/base/config/configWhitelist.js 파일 보기

@@ -91,6 +91,7 @@ export default [
91 91
     'disableRtx',
92 92
     'disableSimulcast',
93 93
     'disableThirdPartyRequests',
94
+    'disableTileView',
94 95
     'displayJids',
95 96
     'doNotStoreRoom',
96 97
     'e2eping',

+ 6
- 0
react/features/video-layout/functions.js 파일 보기

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

Loading…
취소
저장