feat(browser-support): Add support for WKWebview based browsers.
This commit is contained in:
parent
572beb8382
commit
0ee03f1538
|
@ -610,7 +610,7 @@ export class VideoContainer extends LargeContainer {
|
|||
// explicitly disabled.
|
||||
if (interfaceConfig.DISABLE_VIDEO_BACKGROUND
|
||||
|| browser.isFirefox()
|
||||
|| browser.isSafari()) {
|
||||
|| browser.isWebKitBased()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ export function isSupportedBrowser() {
|
|||
export function isSupportedMobileBrowser() {
|
||||
return (Platform.OS === 'android' && browser.isChromiumBased())
|
||||
|| (Platform.OS === 'android' && browser.isFirefox())
|
||||
|| (Platform.OS === 'ios' && browser.isSafari());
|
||||
|| (Platform.OS === 'ios' && browser.isWebKitBased());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -24,7 +24,7 @@ function onFakeLocalStorageChanged() {
|
|||
* @returns {void}
|
||||
*/
|
||||
function setupJitsiLocalStorage() {
|
||||
if (jitsiLocalStorage.isLocalStorageDisabled() || browser.isSafari()) {
|
||||
if (jitsiLocalStorage.isLocalStorageDisabled() || browser.isWebKitBased()) {
|
||||
const urlParams = parseURLParams(window.location);
|
||||
|
||||
try {
|
||||
|
|
|
@ -172,7 +172,7 @@ class AudioSettingsContent extends Component<Props, State> {
|
|||
* @returns {void}
|
||||
*/
|
||||
async _setTracks() {
|
||||
if (browser.isSafari()) {
|
||||
if (browser.isWebKitBased()) {
|
||||
|
||||
// It appears that at the time of this writing, creating audio tracks blocks the browser's main thread for
|
||||
// long time on safari. Wasn't able to confirm which part of track creation does the blocking exactly, but
|
||||
|
|
Loading…
Reference in New Issue