Skip to content

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

Does not reload the page after Chrome desktop sharing extension is installed.

paweldomasa6c8d0787af8
diff --git a/index.html b/index.html
index b9a1149f12..d590d5c235 100644
--- a/index.html
+++ b/index.html
@@ -19,7 +19,7 @@
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
<script src="interface_config.js?v=5"></script>
- <script src="libs/app.bundle.js?v=85"></script>
+ <script src="libs/app.bundle.js?v=86"></script>
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
<link rel="stylesheet" href="css/font.css?v=7"/>
<link rel="stylesheet" href="css/toastr.css?v=1">
diff --git a/libs/app.bundle.js b/libs/app.bundle.js
index 720a62f81c..e5baf59081 100644
--- a/libs/app.bundle.js
+++ b/libs/app.bundle.js
@@ -9993,9 +9993,11 @@ function obtainScreenFromExtension(streamCallback, failCallback) {
getWebStoreInstallUrl(),
function (arg) {
console.log("Extension installed successfully", arg);
- // We need to reload the page in order to get the access to
- // chrome.runtime
- window.location.reload(false);
+ extInstalled = true;
+ // We need to give a moment for the endpoint to become available
+ window.setTimeout(function () {
+ doGetStreamFromExtension(streamCallback, failCallback);
+ }, 500);
},
function (arg) {
console.log("Failed to install the extension", arg);
diff --git a/modules/desktopsharing/desktopsharing.js b/modules/desktopsharing/desktopsharing.js
index 361cf001d8..83dfd073d6 100644
--- a/modules/desktopsharing/desktopsharing.js
+++ b/modules/desktopsharing/desktopsharing.js
@@ -188,9 +188,11 @@ function obtainScreenFromExtension(streamCallback, failCallback) {
getWebStoreInstallUrl(),
function (arg) {
console.log("Extension installed successfully", arg);
- // We need to reload the page in order to get the access to
- // chrome.runtime
- window.location.reload(false);
+ extInstalled = true;
+ // We need to give a moment for the endpoint to become available
+ window.setTimeout(function () {
+ doGetStreamFromExtension(streamCallback, failCallback);
+ }, 500);
},
function (arg) {
console.log("Failed to install the extension", arg);