瀏覽代碼

Adds FF fake device settings when creating local tracks.

j8
damencho 9 年之前
父節點
當前提交
5bd0074eff
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      conference.js

+ 3
- 1
conference.js 查看文件

@@ -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…
取消
儲存