From 18a81d7ca07ae3b8a383845066c3d24394761141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Fri, 7 Apr 2017 14:30:22 +0200 Subject: [PATCH] [RN] Fix passing config options when creating a conference JitsiConnection.initJitsiConference doesn't automatically pass the global config options, so grab the config from the Redux store and pass it. --- react/features/base/conference/actions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/react/features/base/conference/actions.js b/react/features/base/conference/actions.js index 14b837f09..876879d5f 100644 --- a/react/features/base/conference/actions.js +++ b/react/features/base/conference/actions.js @@ -253,13 +253,15 @@ export function createConference() { dispatch(_conferenceWillJoin(room)); - // TODO Take options from config. + const { config } = state['features/base/lib-jitsi-meet']; const conference = connection.initJitsiConference( // XXX Lib-jitsi-meet does not accept uppercase letters. room.toLowerCase(), { + ...config, + openSctp: true // FIXME I tested H.264 from iPhone 6S during a morning