|
@@ -61,11 +61,21 @@ export default class BrowserCapabilities extends BrowserDetection {
|
61
|
61
|
*/
|
62
|
62
|
isChromiumBased() {
|
63
|
63
|
return this.isChrome()
|
|
64
|
+ || this.isChromiumBasedEdge()
|
64
|
65
|
|| this.isElectron()
|
65
|
66
|
|| this.isNWJS()
|
66
|
67
|
|| this.isOpera();
|
67
|
68
|
}
|
68
|
69
|
|
|
70
|
+ /**
|
|
71
|
+ * Checks if the current browser is Edge that is Chromium based.
|
|
72
|
+ */
|
|
73
|
+ isChromiumBasedEdge() {
|
|
74
|
+ const REQUIRED_EDGE_VERSION = 72;
|
|
75
|
+
|
|
76
|
+ return this.isEdge() && this.isVersionGreaterThan(REQUIRED_EDGE_VERSION);
|
|
77
|
+ }
|
|
78
|
+
|
69
|
79
|
/**
|
70
|
80
|
* Checks if current browser is a Safari and a version of Safari that
|
71
|
81
|
* supports native webrtc.
|