Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Fixes issue with desktop sharing when the user click Cancel on the popup window.
hristoterezovd25a9b0e4191
diff --git a/index.html b/index.htmlindex b636eaf8f3..c796d2027a 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=49"></script>+ <script src="libs/app.bundle.js?v=50"></script><script src="analytics.js?v=1"></script><!-- google analytics plugin --><link rel="stylesheet" href="css/font.css?v=6"/><link rel="stylesheet" href="css/toastr.css?v=1">diff --git a/libs/app.bundle.js b/libs/app.bundle.jsindex 10fa56029b..3ede67bce1 100644--- a/libs/app.bundle.js+++ b/libs/app.bundle.js@@ -9577,13 +9577,18 @@ function initInlineInstalls()$("link[rel=chrome-webstore-item]").attr("href", getWebStoreInstallUrl());}-function getSwitchStreamFailed(error) {+function getVideoStreamFailed(error) {console.error("Failed to obtain the stream to switch to", error);switchInProgress = false;isUsingScreenStream = false;newStreamCreated(null);}+function getDesktopStreamFailed(error) {+ console.error("Failed to obtain the stream to switch to", error);+ switchInProgress = false;+}+function streamSwitchDone() {switchInProgress = false;eventEmitter.emit(@@ -9683,7 +9688,7 @@ module.exports = {);newStreamCreated(stream);},- getSwitchStreamFailed);+ getDesktopStreamFailed);} else {// Disable screen streamAPP.RTC.getUserMediaWithConstraints(@@ -9693,7 +9698,7 @@ module.exports = {isUsingScreenStream = false;newStreamCreated(stream);},- getSwitchStreamFailed, config.resolution || '360'+ getVideoStreamFailed, config.resolution || '360');}}diff --git a/modules/desktopsharing/desktopsharing.js b/modules/desktopsharing/desktopsharing.jsindex be9af2341e..361cf001d8 100644--- a/modules/desktopsharing/desktopsharing.js+++ b/modules/desktopsharing/desktopsharing.js@@ -237,13 +237,18 @@ function initInlineInstalls()$("link[rel=chrome-webstore-item]").attr("href", getWebStoreInstallUrl());}-function getSwitchStreamFailed(error) {+function getVideoStreamFailed(error) {console.error("Failed to obtain the stream to switch to", error);switchInProgress = false;isUsingScreenStream = false;newStreamCreated(null);}+function getDesktopStreamFailed(error) {+ console.error("Failed to obtain the stream to switch to", error);+ switchInProgress = false;+}+function streamSwitchDone() {switchInProgress = false;eventEmitter.emit(@@ -343,7 +348,7 @@ module.exports = {);newStreamCreated(stream);},- getSwitchStreamFailed);+ getDesktopStreamFailed);} else {// Disable screen streamAPP.RTC.getUserMediaWithConstraints(@@ -353,7 +358,7 @@ module.exports = {isUsingScreenStream = false;newStreamCreated(stream);},- getSwitchStreamFailed, config.resolution || '360'+ getVideoStreamFailed, config.resolution || '360');}}