Sfoglia il codice sorgente

[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 anni fa
parent
commit
18a81d7ca0
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3
    1
      react/features/base/conference/actions.js

+ 3
- 1
react/features/base/conference/actions.js Vedi File

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

Loading…
Annulla
Salva