Sfoglia il codice sorgente

docs: Add comment for initial GUM timeout values.

master
Hristo Terezov 4 anni fa
parent
commit
299927fcad
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      conference.js

+ 3
- 0
conference.js Vedi File

@@ -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…
Annulla
Salva