Browse Source

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 years ago
parent
commit
bc5ad5ebd1
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      modules/browser/BrowserCapabilities.js

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

@@ -33,6 +33,7 @@ export default class BrowserCapabilities extends BrowserDetection {
33 33
         return !(
34 34
             this.isFirefox()
35 35
             || this.isEdge()
36
+            || this.isReactNative()
36 37
             || this.isSafariWithWebrtc()
37 38
         );
38 39
     }

Loading…
Cancel
Save