Sfoglia il codice sorgente

Adds FF fake device settings when creating local tracks.

j8
damencho 9 anni fa
parent
commit
5bd0074eff
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3
    1
      conference.js

+ 3
- 1
conference.js Vedi File

@@ -177,7 +177,9 @@ export default {
177 177
         return JitsiMeetJS.createLocalTracks({
178 178
             // copy array to avoid mutations inside library
179 179
             devices: devices.slice(0),
180
-            resolution: config.resolution
180
+            resolution: config.resolution,
181
+            // adds any ff fake device settings if any
182
+            firefox_fake_device: config.firefox_fake_device
181 183
         }).catch(function (err) {
182 184
             console.error('failed to create local tracks', ...devices, err);
183 185
             APP.statistics.onGetUserMediaFailed(err);

Loading…
Annulla
Salva