Преглед изворни кода

fix(device-selection): disable preview for ios

master
Hristo Terezov пре 3 година
родитељ
комит
7e942173aa
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      react/features/device-selection/functions.js

+ 2
- 2
react/features/device-selection/functions.js Прегледај датотеку

14
     setVideoInputDeviceAndUpdateSettings
14
     setVideoInputDeviceAndUpdateSettings
15
 } from '../base/devices';
15
 } from '../base/devices';
16
 import { isIosMobileBrowser } from '../base/environment/utils';
16
 import { isIosMobileBrowser } from '../base/environment/utils';
17
-import JitsiMeetJS, { browser } from '../base/lib-jitsi-meet';
17
+import JitsiMeetJS from '../base/lib-jitsi-meet';
18
 import { toState } from '../base/redux';
18
 import { toState } from '../base/redux';
19
 import {
19
 import {
20
     getUserSelectedCameraDeviceId,
20
     getUserSelectedCameraDeviceId,
32
 export function getDeviceSelectionDialogProps(stateful: Object | Function) {
32
 export function getDeviceSelectionDialogProps(stateful: Object | Function) {
33
     // On mobile Safari because of https://bugs.webkit.org/show_bug.cgi?id=179363#c30, the old track is stopped
33
     // On mobile Safari because of https://bugs.webkit.org/show_bug.cgi?id=179363#c30, the old track is stopped
34
     // by the browser when a new track is created for preview. That's why we are disabling all previews.
34
     // by the browser when a new track is created for preview. That's why we are disabling all previews.
35
-    const disablePreviews = isIosMobileBrowser() && browser.isVersionGreaterThan('15.3');
35
+    const disablePreviews = isIosMobileBrowser();
36
 
36
 
37
     const state = toState(stateful);
37
     const state = toState(stateful);
38
     const settings = state['features/base/settings'];
38
     const settings = state['features/base/settings'];

Loading…
Откажи
Сачувај