Skip to content

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

fix(suboptimal): allow checks for chromium based browsers

Leonard Kim1e39c12963d3
diff --git a/interface_config.js b/interface_config.js
index 0c9917d10a..724b646c5f 100644
--- a/interface_config.js
+++ b/interface_config.js
@@ -172,8 +172,8 @@ var interfaceConfig = {
// Names of browsers which should show a warning stating the current browser
// has a suboptimal experience. Browsers which are not listed as optimal or
// unsupported are considered suboptimal. Valid values are:
- // chrome, edge, electron, firefox, nwjs, opera, safari
- OPTIMAL_BROWSERS: [ 'chrome', 'firefox', 'nwjs', 'electron' ],
+ // chrome, chromium, edge, electron, firefox, nwjs, opera, safari
+ OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'firefox', 'nwjs', 'electron' ],
// Browsers, in addition to those which do not fully support WebRTC, that
// are not supported and should show the unsupported browser page.
diff --git a/react/features/base/environment/environment.js b/react/features/base/environment/environment.js
index cbde9bd865..2f325f1f7b 100644
--- a/react/features/base/environment/environment.js
+++ b/react/features/base/environment/environment.js
@@ -16,6 +16,7 @@ const DEFAULT_UNSUPPORTED_BROWSERS = [];
const browserNameToCheck = {
chrome: browser.isChrome.bind(browser),
+ chromium: browser.isChromiumBased.bind(browser),
edge: browser.isEdge.bind(browser),
electron: browser.isElectron.bind(browser),
firefox: browser.isFirefox.bind(browser),