Browse Source

[RN] Move preferH264 where it will be in effect (in the future)

master
Lyubo Marinov 8 years ago
parent
commit
d6d7ce1b67

+ 11
- 3
react/features/base/conference/actions.js View File

@@ -205,9 +205,17 @@ export function createConference() {
205 205
         const conference
206 206
             = connection.initJitsiConference(
207 207
 
208
-                    // XXX Lib-jitsi-meet does not accept uppercase letters.
209
-                    room.toLowerCase(),
210
-                    { openSctp: true });
208
+                // XXX Lib-jitsi-meet does not accept uppercase letters.
209
+                room.toLowerCase(),
210
+                {
211
+                    openSctp: true
212
+
213
+                    // FIXME I tested H.264 from iPhone 6S during a morning
214
+                    // standup but, unfortunately, the other participants who
215
+                    // happened to be running the Web app saw only black.
216
+                    //
217
+                    // preferH264: true
218
+                });
211 219
 
212 220
         _addConferenceListeners(conference, dispatch);
213 221
 

+ 1
- 2
react/features/base/lib-jitsi-meet/reducer.js View File

@@ -39,8 +39,7 @@ const INITIAL_STATE = {
39 39
         // place). Fortunately, these pieces of JavaScript currently involve
40 40
         // third parties and we can temporarily disable them (until we implement
41 41
         // an alternative to async script elements on React Native).
42
-        disableThirdPartyRequests: true,
43
-        preferH264: true
42
+        disableThirdPartyRequests: true
44 43
     },
45 44
     initializationError: null,
46 45
     initialized: false

Loading…
Cancel
Save