Browse Source

fix(device-change): enable on iOS Safari < 15.4

tags/v0.0.2
Hristo Terezov 2 years ago
parent
commit
42f5b4bf51
2 changed files with 1 additions and 10 deletions
  1. 1
    1
      JitsiMediaDevices.js
  2. 0
    9
      modules/RTC/RTCUtils.js

+ 1
- 1
JitsiMediaDevices.js View File

@@ -264,7 +264,7 @@ class JitsiMediaDevices {
264 264
     isMultipleAudioInputSupported() {
265 265
         return !(
266 266
             (browser.isFirefox() && browser.isVersionLessThan('101'))
267
-            || (browser.isIosBrowser() && browser.isVersionLessThan('15.4'))
267
+            || browser.isIosBrowser()
268 268
         );
269 269
     }
270 270
 

+ 0
- 9
modules/RTC/RTCUtils.js View File

@@ -760,15 +760,6 @@ class RTCUtils extends Listenable {
760 760
             return isAudioOutputDeviceChangeAvailable;
761 761
         }
762 762
 
763
-        // Calling getUserMedia again (for preview) kills the track returned by the first getUserMedia call because of
764
-        // https://bugs.webkit.org/show_bug.cgi?id=179363. Therefore, do not show microphone/camera options on mobile
765
-        // Safari. Bug fixed in Safari 15.4.
766
-        if ((deviceType === 'audioinput' || deviceType === 'input')
767
-            && browser.isIosBrowser()
768
-            && browser.isVersionLessThan('15.4')) {
769
-            return false;
770
-        }
771
-
772 763
         return true;
773 764
     }
774 765
 

Loading…
Cancel
Save