Kaynağa Gözat

[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.
master
Saúl Ibarra Corretgé 8 yıl önce
ebeveyn
işleme
18a81d7ca0
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3
    1
      react/features/base/conference/actions.js

+ 3
- 1
react/features/base/conference/actions.js Dosyayı Görüntüle

@@ -253,13 +253,15 @@ export function createConference() {
253 253
 
254 254
         dispatch(_conferenceWillJoin(room));
255 255
 
256
-        // TODO Take options from config.
256
+        const { config } = state['features/base/lib-jitsi-meet'];
257 257
         const conference
258 258
             = connection.initJitsiConference(
259 259
 
260 260
                 // XXX Lib-jitsi-meet does not accept uppercase letters.
261 261
                 room.toLowerCase(),
262 262
                 {
263
+                    ...config,
264
+
263 265
                     openSctp: true
264 266
 
265 267
                     // FIXME I tested H.264 from iPhone 6S during a morning

Loading…
İptal
Kaydet