Browse Source

Adds FF fake device settings when creating local tracks.

j8
damencho 9 years ago
parent
commit
5bd0074eff
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      conference.js

+ 3
- 1
conference.js View File

177
         return JitsiMeetJS.createLocalTracks({
177
         return JitsiMeetJS.createLocalTracks({
178
             // copy array to avoid mutations inside library
178
             // copy array to avoid mutations inside library
179
             devices: devices.slice(0),
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
         }).catch(function (err) {
183
         }).catch(function (err) {
182
             console.error('failed to create local tracks', ...devices, err);
184
             console.error('failed to create local tracks', ...devices, err);
183
             APP.statistics.onGetUserMediaFailed(err);
185
             APP.statistics.onGetUserMediaFailed(err);

Loading…
Cancel
Save