Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(browser-support): Add support for WKWebview based browsers.

Jaya Allamsetty0ee03f15381d
diff --git a/modules/UI/videolayout/VideoContainer.js b/modules/UI/videolayout/VideoContainer.js
index ced00a33cb..b6efac9bd6 100644
--- a/modules/UI/videolayout/VideoContainer.js
+++ b/modules/UI/videolayout/VideoContainer.js
@@ -610,7 +610,7 @@ export class VideoContainer extends LargeContainer {
// explicitly disabled.
if (interfaceConfig.DISABLE_VIDEO_BACKGROUND
|| browser.isFirefox()
- || browser.isSafari()) {
+ || browser.isWebKitBased()) {
return;
}
diff --git a/react/features/base/environment/environment.js b/react/features/base/environment/environment.js
index c2eca0cf73..7f869be730 100644
--- a/react/features/base/environment/environment.js
+++ b/react/features/base/environment/environment.js
@@ -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());
}
/**
diff --git a/react/features/base/jitsi-local-storage/setup.web.js b/react/features/base/jitsi-local-storage/setup.web.js
index e351584437..be4540fbfd 100644
--- a/react/features/base/jitsi-local-storage/setup.web.js
+++ b/react/features/base/jitsi-local-storage/setup.web.js
@@ -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 {
diff --git a/react/features/settings/components/web/audio/AudioSettingsContent.js b/react/features/settings/components/web/audio/AudioSettingsContent.js
index 20744bb100..ee7da52f06 100644
--- a/react/features/settings/components/web/audio/AudioSettingsContent.js
+++ b/react/features/settings/components/web/audio/AudioSettingsContent.js
@@ -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