Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Adds FF fake device settings when creating local tracks.

damencho5bd0074eff47
diff --git a/conference.js b/conference.js
index 092bf1e55c..72bf846a86 100644
--- a/conference.js
+++ b/conference.js
@@ -177,7 +177,9 @@ export default {
return JitsiMeetJS.createLocalTracks({
// copy array to avoid mutations inside library
devices: devices.slice(0),
- resolution: config.resolution
+ resolution: config.resolution,
+ // adds any ff fake device settings if any
+ firefox_fake_device: config.firefox_fake_device
}).catch(function (err) {
console.error('failed to create local tracks', ...devices, err);
APP.statistics.onGetUserMediaFailed(err);