|
@@ -33,7 +33,7 @@ export default class BrowserCapabilities extends BrowserDetection {
|
33
|
33
|
* strategy or <tt>false</tt> otherwise.
|
34
|
34
|
*/
|
35
|
35
|
doesVideoMuteByStreamRemove() {
|
36
|
|
- return this.isChromiumBased() || this.isSafari();
|
|
36
|
+ return this.isChromiumBased() || this.isWebKitBased();
|
37
|
37
|
}
|
38
|
38
|
|
39
|
39
|
/**
|
|
@@ -100,7 +100,7 @@ export default class BrowserCapabilities extends BrowserDetection {
|
100
|
100
|
return (this.isChromiumBased() && this._getChromiumBasedVersion() >= MIN_REQUIRED_CHROME_VERSION)
|
101
|
101
|
|| this.isFirefox()
|
102
|
102
|
|| this.isReactNative()
|
103
|
|
- || (this.isSafari() && !this.isVersionLessThan('12.1'));
|
|
103
|
+ || this.isWebKitBased();
|
104
|
104
|
}
|
105
|
105
|
|
106
|
106
|
/**
|
|
@@ -120,7 +120,7 @@ export default class BrowserCapabilities extends BrowserDetection {
|
120
|
120
|
* otherwise.
|
121
|
121
|
*/
|
122
|
122
|
supportsVideoMuteOnConnInterrupted() {
|
123
|
|
- return this.isChromiumBased() || this.isReactNative() || this.isSafari();
|
|
123
|
+ return this.isChromiumBased() || this.isReactNative() || this.isWebKitBased();
|
124
|
124
|
}
|
125
|
125
|
|
126
|
126
|
/**
|
|
@@ -131,7 +131,7 @@ export default class BrowserCapabilities extends BrowserDetection {
|
131
|
131
|
supportsBandwidthStatistics() {
|
132
|
132
|
// FIXME bandwidth stats are currently not implemented for FF on our
|
133
|
133
|
// side, but not sure if not possible ?
|
134
|
|
- return !this.isFirefox() && !this.isSafari();
|
|
134
|
+ return !this.isFirefox() && !this.isWebKitBased();
|
135
|
135
|
}
|
136
|
136
|
|
137
|
137
|
/**
|
|
@@ -146,7 +146,7 @@ export default class BrowserCapabilities extends BrowserDetection {
|
146
|
146
|
|
147
|
147
|
// this is not working on Safari because of the following bug
|
148
|
148
|
// https://bugs.webkit.org/show_bug.cgi?id=215567
|
149
|
|
- && !this.isSafari();
|
|
149
|
+ && !this.isWebKitBased();
|
150
|
150
|
}
|
151
|
151
|
|
152
|
152
|
/**
|
|
@@ -164,7 +164,7 @@ export default class BrowserCapabilities extends BrowserDetection {
|
164
|
164
|
* candidates through the legacy getStats() API.
|
165
|
165
|
*/
|
166
|
166
|
supportsLocalCandidateRttStatistics() {
|
167
|
|
- return this.isChromiumBased() || this.isReactNative() || this.isSafari();
|
|
167
|
+ return this.isChromiumBased() || this.isReactNative() || this.isWebKitBased();
|
168
|
168
|
}
|
169
|
169
|
|
170
|
170
|
/**
|
|
@@ -217,7 +217,7 @@ export default class BrowserCapabilities extends BrowserDetection {
|
217
|
217
|
* @returns {boolean}
|
218
|
218
|
*/
|
219
|
219
|
usesSdpMungingForSimulcast() {
|
220
|
|
- return this.isChromiumBased() || this.isReactNative() || this.isSafari();
|
|
220
|
+ return this.isChromiumBased() || this.isReactNative() || this.isWebKitBased();
|
221
|
221
|
}
|
222
|
222
|
|
223
|
223
|
/**
|
|
@@ -242,7 +242,7 @@ export default class BrowserCapabilities extends BrowserDetection {
|
242
|
242
|
* @returns {boolean}
|
243
|
243
|
*/
|
244
|
244
|
usesNewGumFlow() {
|
245
|
|
- if (this.isChromiumBased() || this.isFirefox() || this.isSafari()) {
|
|
245
|
+ if (this.isChromiumBased() || this.isFirefox() || this.isWebKitBased()) {
|
246
|
246
|
return true;
|
247
|
247
|
}
|
248
|
248
|
|