Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Lyubo Marinovd6d7ce1b67ec
diff --git a/react/features/base/conference/actions.js b/react/features/base/conference/actions.js
index 5a0f4a2e15..0ce9b119f9 100644
--- a/react/features/base/conference/actions.js
+++ b/react/features/base/conference/actions.js
@@ -205,9 +205,17 @@ export function createConference() {
const conference
= connection.initJitsiConference(
- // XXX Lib-jitsi-meet does not accept uppercase letters.
- room.toLowerCase(),
- { openSctp: true });
+ // XXX Lib-jitsi-meet does not accept uppercase letters.
+ room.toLowerCase(),
+ {
+ openSctp: true
+
+ // FIXME I tested H.264 from iPhone 6S during a morning
+ // standup but, unfortunately, the other participants who
+ // happened to be running the Web app saw only black.
+ //
+ // preferH264: true
+ });
_addConferenceListeners(conference, dispatch);
diff --git a/react/features/base/lib-jitsi-meet/reducer.js b/react/features/base/lib-jitsi-meet/reducer.js
index 7ec9aea5e4..b123acad01 100644
--- a/react/features/base/lib-jitsi-meet/reducer.js
+++ b/react/features/base/lib-jitsi-meet/reducer.js
@@ -39,8 +39,7 @@ const INITIAL_STATE = {
// place). Fortunately, these pieces of JavaScript currently involve
// third parties and we can temporarily disable them (until we implement
// an alternative to async script elements on React Native).
- disableThirdPartyRequests: true,
- preferH264: true
+ disableThirdPartyRequests: true
},
initializationError: null,
initialized: false