Skip to content

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

feat(conference): hide user media permission overlay when tracks are created

Saúl Ibarra Corretgé4829b8635246
diff --git a/conference.js b/conference.js
index 1657f3332c..f64a430767 100644
--- a/conference.js
+++ b/conference.js
@@ -632,11 +632,14 @@ export default {
});
}
+ // Hide permissions overlay when tracks are created
+ tryCreateLocalTracks.then(() => {
+ APP.store.dispatch(
+ mediaPermissionPromptVisibilityChanged(false));
+ });
+
return Promise.all([ tryCreateLocalTracks, connect(roomName) ])
.then(([ tracks, con ]) => {
- APP.store.dispatch(
- mediaPermissionPromptVisibilityChanged(false));
-
// FIXME If there will be microphone error it will cover any
// screensharing dialog, but it's still better than in
// the reverse order where the screensharing dialog will