Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

docs: Add comment for initial GUM timeout values.

Hristo Terezov299927fcad4d
diff --git a/conference.js b/conference.js
index d1fb066313..836015d1df 100644
--- a/conference.js
+++ b/conference.js
@@ -504,6 +504,9 @@ export default {
let tryCreateLocalTracks;
+ // On Electron there is no permission prompt for granting permissions. That's why we don't need to
+ // spend much time displaying the overlay screen. If GUM is not resolved withing 15 seconds it will
+ // probably never resolve.
const timeout = browser.isElectron() ? 15000 : 60000;
// FIXME is there any simpler way to rewrite this spaghetti below ?