瀏覽代碼

docs: Add comment for initial GUM timeout values.

master
Hristo Terezov 4 年之前
父節點
當前提交
299927fcad
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      conference.js

+ 3
- 0
conference.js 查看文件

504
 
504
 
505
         let tryCreateLocalTracks;
505
         let tryCreateLocalTracks;
506
 
506
 
507
+        // On Electron there is no permission prompt for granting permissions. That's why we don't need to
508
+        // spend much time displaying the overlay screen. If GUM is not resolved withing 15 seconds it will
509
+        // probably never resolve.
507
         const timeout = browser.isElectron() ? 15000 : 60000;
510
         const timeout = browser.isElectron() ? 15000 : 60000;
508
 
511
 
509
         // FIXME is there any simpler way to rewrite this spaghetti below ?
512
         // FIXME is there any simpler way to rewrite this spaghetti below ?

Loading…
取消
儲存