fix(device-selection): disable preview for ios
This commit is contained in:
parent
e1b87c48bc
commit
7e942173aa
|
@ -14,7 +14,7 @@ import {
|
|||
setVideoInputDeviceAndUpdateSettings
|
||||
} from '../base/devices';
|
||||
import { isIosMobileBrowser } from '../base/environment/utils';
|
||||
import JitsiMeetJS, { browser } from '../base/lib-jitsi-meet';
|
||||
import JitsiMeetJS from '../base/lib-jitsi-meet';
|
||||
import { toState } from '../base/redux';
|
||||
import {
|
||||
getUserSelectedCameraDeviceId,
|
||||
|
@ -32,7 +32,7 @@ import {
|
|||
export function getDeviceSelectionDialogProps(stateful: Object | Function) {
|
||||
// On mobile Safari because of https://bugs.webkit.org/show_bug.cgi?id=179363#c30, the old track is stopped
|
||||
// by the browser when a new track is created for preview. That's why we are disabling all previews.
|
||||
const disablePreviews = isIosMobileBrowser() && browser.isVersionGreaterThan('15.3');
|
||||
const disablePreviews = isIosMobileBrowser();
|
||||
|
||||
const state = toState(stateful);
|
||||
const settings = state['features/base/settings'];
|
||||
|
|
Loading…
Reference in New Issue