Ver código fonte

feat(ScreenSharing): use sane defaults

Both Chrome and Firefox can work without extensions now, so it no longer makes
sense to default to disabling it in Chrome. Moreover, rely on the fact that
undefined is falsey so no actual config needs to be provided.
j8
Saúl Ibarra Corretgé 6 anos atrás
pai
commit
87f171caa4
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      config.js

+ 2
- 2
config.js Ver arquivo

146
     desktopSharingChromeExtId: null,
146
     desktopSharingChromeExtId: null,
147
 
147
 
148
     // Whether desktop sharing should be disabled on Chrome.
148
     // Whether desktop sharing should be disabled on Chrome.
149
-    desktopSharingChromeDisabled: true,
149
+    // desktopSharingChromeDisabled: false,
150
 
150
 
151
     // The media sources to use when using screen sharing with the Chrome
151
     // The media sources to use when using screen sharing with the Chrome
152
     // extension.
152
     // extension.
156
     desktopSharingChromeMinExtVersion: '0.1',
156
     desktopSharingChromeMinExtVersion: '0.1',
157
 
157
 
158
     // Whether desktop sharing should be disabled on Firefox.
158
     // Whether desktop sharing should be disabled on Firefox.
159
-    desktopSharingFirefoxDisabled: false,
159
+    // desktopSharingFirefoxDisabled: false,
160
 
160
 
161
     // Optional desktop sharing frame rate options. Default value: min:5, max:5.
161
     // Optional desktop sharing frame rate options. Default value: min:5, max:5.
162
     // desktopSharingFrameRate: {
162
     // desktopSharingFrameRate: {

Carregando…
Cancelar
Salvar