Bläddra i källkod

fix(safari): Disable VAD processing on Safari

VAD processing causes audio input to fail on mobiles running latest versions of iOS/iPadOS.
dev1
Jaya Allamsetty 5 år sedan
förälder
incheckning
cfbb511bce
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3
    1
      JitsiConference.js

+ 3
- 1
JitsiConference.js Visa fil

@@ -395,7 +395,9 @@ JitsiConference.prototype._init = function(options = {}) {
395 395
     // listeners are removed from statistics module.
396 396
     this.eventManager.setupStatisticsListeners();
397 397
 
398
-    if (config.enableTalkWhileMuted) {
398
+    // Disable VAD processing on Safari since it causes audio input to
399
+    // fail on some of the mobile devices.
400
+    if (config.enableTalkWhileMuted && !browser.isSafari()) {
399 401
 
400 402
         // If VAD processor factory method is provided uses VAD based detection, otherwise fallback to audio level
401 403
         // based detection.

Laddar…
Avbryt
Spara