Sfoglia il codice sorgente

feat(RN): don't use local O/A for mute on React Native

With the update of react-native-webrtc to M67, the ability to stop the camera
when a track is disabled was introduced, so there is no longer a need for doing
a local O/A to remove the track for video muting.
master
Saúl Ibarra Corretgé 7 anni fa
parent
commit
bc5ad5ebd1
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      modules/browser/BrowserCapabilities.js

+ 1
- 0
modules/browser/BrowserCapabilities.js Vedi File

33
         return !(
33
         return !(
34
             this.isFirefox()
34
             this.isFirefox()
35
             || this.isEdge()
35
             || this.isEdge()
36
+            || this.isReactNative()
36
             || this.isSafariWithWebrtc()
37
             || this.isSafariWithWebrtc()
37
         );
38
         );
38
     }
39
     }

Loading…
Annulla
Salva