|
@@ -9993,9 +9993,11 @@ function obtainScreenFromExtension(streamCallback, failCallback) {
|
9993
|
9993
|
getWebStoreInstallUrl(),
|
9994
|
9994
|
function (arg) {
|
9995
|
9995
|
console.log("Extension installed successfully", arg);
|
9996
|
|
- // We need to reload the page in order to get the access to
|
9997
|
|
- // chrome.runtime
|
9998
|
|
- window.location.reload(false);
|
|
9996
|
+ extInstalled = true;
|
|
9997
|
+ // We need to give a moment for the endpoint to become available
|
|
9998
|
+ window.setTimeout(function () {
|
|
9999
|
+ doGetStreamFromExtension(streamCallback, failCallback);
|
|
10000
|
+ }, 500);
|
9999
|
10001
|
},
|
10000
|
10002
|
function (arg) {
|
10001
|
10003
|
console.log("Failed to install the extension", arg);
|