Просмотр исходного кода

feat(browser-support): Add safari to list of optimal browsers

efficient_tiling
Jaya Allamsetty 5 лет назад
Родитель
Сommit
4824c8714a
2 измененных файлов: 3 добавлений и 2 удалений
  1. 1
    1
      interface_config.js
  2. 2
    1
      react/features/base/environment/environment.js

+ 1
- 1
interface_config.js Просмотреть файл

@@ -175,7 +175,7 @@ var interfaceConfig = {
175 175
     // has a suboptimal experience. Browsers which are not listed as optimal or
176 176
     // unsupported are considered suboptimal. Valid values are:
177 177
     // chrome, chromium, edge, electron, firefox, nwjs, opera, safari
178
-    OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron' ],
178
+    OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron', 'safari' ],
179 179
 
180 180
     // Browsers, in addition to those which do not fully support WebRTC, that
181 181
     // are not supported and should show the unsupported browser page.

+ 2
- 1
react/features/base/environment/environment.js Просмотреть файл

@@ -9,7 +9,8 @@ const DEFAULT_OPTIMAL_BROWSERS = [
9 9
     'chrome',
10 10
     'electron',
11 11
     'firefox',
12
-    'nwjs'
12
+    'nwjs',
13
+    'safari'
13 14
 ];
14 15
 
15 16
 const DEFAULT_UNSUPPORTED_BROWSERS = [];

Загрузка…
Отмена
Сохранить