浏览代码

docs: Add comment for initial GUM timeout values.

j8
Hristo Terezov 4 年前
父节点
当前提交
299927fcad
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      conference.js

+ 3
- 0
conference.js 查看文件

@@ -504,6 +504,9 @@ export default {
504 504
 
505 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 510
         const timeout = browser.isElectron() ? 15000 : 60000;
508 511
 
509 512
         // FIXME is there any simpler way to rewrite this spaghetti below ?

正在加载...
取消
保存