|
|
|
|
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);
|