Explorar el Código

docs: Add comment for initial GUM timeout values.

j8
Hristo Terezov hace 4 años
padre
commit
299927fcad
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      conference.js

+ 3
- 0
conference.js Ver fichero

@@ -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 ?

Loading…
Cancelar
Guardar