|
|
@@ -439,8 +439,7 @@ JitsiConference.prototype._init = function(options = {}) {
|
|
439
|
439
|
|
|
440
|
440
|
// Disable VAD processing on Safari since it causes audio input to
|
|
441
|
441
|
// fail on some of the mobile devices.
|
|
442
|
|
- if (config.enableTalkWhileMuted && !browser.isWebKitBased()) {
|
|
443
|
|
-
|
|
|
442
|
+ if (config.enableTalkWhileMuted && browser.supportsVADDetection()) {
|
|
444
|
443
|
// If VAD processor factory method is provided uses VAD based detection, otherwise fallback to audio level
|
|
445
|
444
|
// based detection.
|
|
446
|
445
|
if (config.createVADProcessor) {
|
|
|
@@ -463,7 +462,7 @@ JitsiConference.prototype._init = function(options = {}) {
|
|
463
|
462
|
|
|
464
|
463
|
// Disable noisy mic detection on safari since it causes the audio input to
|
|
465
|
464
|
// fail on Safari on iPadOS.
|
|
466
|
|
- if (config.enableNoisyMicDetection && !browser.isWebKitBased()) {
|
|
|
465
|
+ if (config.enableNoisyMicDetection && browser.supportsVADDetection()) {
|
|
467
|
466
|
if (config.createVADProcessor) {
|
|
468
|
467
|
if (!this._audioAnalyser) {
|
|
469
|
468
|
this._audioAnalyser = new VADAudioAnalyser(this, config.createVADProcessor);
|