Преглед на файлове

fix(config) Ignore enableUnifiedOnChrome config flag.

Always enable unified plan support on Chromium endpoints.
factor2
Jaya Allamsetty преди 2 години
родител
ревизия
710dab8b76
променени са 4 файла, в които са добавени 3 реда и са изтрити 25 реда
  1. 0
    6
      config.js
  2. 0
    2
      react/features/base/config/configType.ts
  3. 0
    1
      react/features/base/config/configWhitelist.ts
  4. 3
    16
      react/features/base/config/functions.any.ts

+ 0
- 6
config.js Целия файл

@@ -139,9 +139,6 @@ var config = {
139 139
     // Media
140 140
     //
141 141
 
142
-    // Enable unified plan implementation support on Chromium based browsers.
143
-    // enableUnifiedOnChrome: false,
144
-
145 142
     // Audio
146 143
 
147 144
     // Disable measuring of audio levels.
@@ -949,9 +946,6 @@ var config = {
949 946
         // connection.
950 947
         enabled: true,
951 948
 
952
-        // Enable unified plan implementation support on Chromium for p2p connection.
953
-        // enableUnifiedOnChrome: false,
954
-
955 949
         // Sets the ICE transport policy for the p2p connection. At the time
956 950
         // of this writing the list of possible values are 'all' and 'relay',
957 951
         // but that is subject to change in the future. The enum is defined in

+ 0
- 2
react/features/base/config/configType.ts Целия файл

@@ -326,7 +326,6 @@ export interface IConfig {
326 326
     enableRemb?: boolean;
327 327
     enableSaveLogs?: boolean;
328 328
     enableTcc?: boolean;
329
-    enableUnifiedOnChrome?: boolean;
330 329
     enableWebHIDFeature?: boolean;
331 330
     enableWelcomePage?: boolean;
332 331
     etherpad_base?: string;
@@ -441,7 +440,6 @@ export interface IConfig {
441 440
     p2p?: {
442 441
         backToP2PDelay?: number;
443 442
         disabledCodec?: string;
444
-        enableUnifiedOnChrome?: boolean;
445 443
         enabled?: boolean;
446 444
         iceTransportPolicy?: string;
447 445
         preferredCodec?: string;

+ 0
- 1
react/features/base/config/configWhitelist.ts Целия файл

@@ -147,7 +147,6 @@ export default [
147 147
     'enableRemb',
148 148
     'enableSaveLogs',
149 149
     'enableTalkWhileMuted',
150
-    'enableUnifiedOnChrome',
151 150
     'enableNoAudioDetection',
152 151
     'enableNoisyMicDetection',
153 152
     'enableTcc',

+ 3
- 16
react/features/base/config/functions.any.ts Целия файл

@@ -62,11 +62,11 @@ export function getMeetingRegion(state: IReduxState) {
62 62
 /**
63 63
  * Selector for determining if sending multiple stream support is enabled.
64 64
  *
65
- * @param {Object} state - The global state.
65
+ * @param {Object} _state - The global state.
66 66
  * @returns {boolean}
67 67
  */
68
-export function getMultipleVideoSendingSupportFeatureFlag(state: IReduxState) {
69
-    return isUnifiedPlanEnabled(state);
68
+export function getMultipleVideoSendingSupportFeatureFlag(_state: IReduxState) {
69
+    return browser.supportsUnifiedPlan();
70 70
 }
71 71
 
72 72
 /**
@@ -205,19 +205,6 @@ export function isDisplayNameVisible(state: IReduxState): boolean {
205 205
     return !state['features/base/config'].hideDisplayName;
206 206
 }
207 207
 
208
-/**
209
- * Selector for determining if Unified plan support is enabled.
210
- *
211
- * @param {Object} state - The state of the app.
212
- * @returns {boolean}
213
- */
214
-export function isUnifiedPlanEnabled(state: IReduxState): boolean {
215
-    const { enableUnifiedOnChrome = true } = state['features/base/config'];
216
-
217
-    return browser.supportsUnifiedPlan()
218
-        && (!browser.isChromiumBased() || (browser.isChromiumBased() && enableUnifiedOnChrome));
219
-}
220
-
221 208
 /**
222 209
  * Restores a Jitsi Meet config.js from {@code localStorage} if it was
223 210
  * previously downloaded from a specific {@code baseURL} and stored with

Loading…
Отказ
Запис