Pārlūkot izejas kodu

fix(rn,CodecSelection) RN now supports the capabilities API so use it

dev1
Saúl Ibarra Corretgé 2 gadus atpakaļ
vecāks
revīzija
14a7a97ba9
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      modules/RTC/CodecSelection.js

+ 2
- 2
modules/RTC/CodecSelection.js Parādīt failu

@@ -85,9 +85,9 @@ export class CodecSelection {
85 85
      * @private
86 86
      */
87 87
     _isCodecSupported(preferredCodec) {
88
-        // Skip the check on FF and RN because they do not support the getCapabilities API.
88
+        // Skip the check on FF because it does not support the getCapabilities API.
89 89
         // It is safe to assume both of them support all the codecs supported by Chrome.
90
-        if (browser.isFirefox() || browser.isReactNative()) {
90
+        if (browser.isFirefox()) {
91 91
             return true;
92 92
         }
93 93
 

Notiek ielāde…
Atcelt
Saglabāt