Explorar el Código

React Native uses Plan B

Otherwise, RTX may break setRemoteDescription and the respective
receive video(s) will not render because their packets will be dropped.
dev1
Lyubo Marinov hace 9 años
padre
commit
d08c568c5b
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5
    2
      modules/RTC/RTCBrowserType.js

+ 5
- 2
modules/RTC/RTCBrowserType.js Ver fichero

@@ -159,8 +159,11 @@ var RTCBrowserType = {
159 159
     },
160 160
 
161 161
     usesPlanB: function() {
162
-        return RTCBrowserType.isChrome() || RTCBrowserType.isOpera() ||
163
-            RTCBrowserType.isTemasysPluginUsed();
162
+        return (
163
+            RTCBrowserType.isChrome()
164
+                || RTCBrowserType.isOpera()
165
+                || RTCBrowserType.isReactNative()
166
+                || RTCBrowserType.isTemasysPluginUsed());
164 167
     },
165 168
 
166 169
     usesUnifiedPlan: function() {

Loading…
Cancelar
Guardar