From ea6bc1719536a70d719a8260725c7d959e9fe0af Mon Sep 17 00:00:00 2001 From: milad Date: Mon, 18 Nov 2019 09:51:19 -0800 Subject: [PATCH 1/2] added desktopsharing var --- screenshare/src/screenshareApp.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screenshare/src/screenshareApp.html b/screenshare/src/screenshareApp.html index c647bd58a3..6268b581e4 100644 --- a/screenshare/src/screenshareApp.html +++ b/screenshare/src/screenshareApp.html @@ -38,10 +38,10 @@ See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.

-
+
YES, SHARE THIS CONTENT
-
+
No, don't share this content
From 59511d2f2978deb52e9a1602e4ce6bc420d0601f Mon Sep 17 00:00:00 2001 From: milad Date: Mon, 18 Nov 2019 09:52:55 -0800 Subject: [PATCH 2/2] forgot to add the actual var! --- screenshare/src/screenshareApp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/screenshare/src/screenshareApp.js b/screenshare/src/screenshareApp.js index b687309ccb..2abc151988 100644 --- a/screenshare/src/screenshareApp.js +++ b/screenshare/src/screenshareApp.js @@ -172,6 +172,7 @@ function showSources() { // Stop the localstream and end the tokrok publishing let localStream; +let desktopSharing; function stopSharing() { desktopSharing = false;