3
0
Fork 0
mirror of https://thingvellir.net/git/overte synced 2025-03-27 23:52:03 +01:00

Merge pull request from MiladNazeri/screenshare-desktopsharing-fix

added desktopSharing var
This commit is contained in:
Zach Fox 2019-11-18 10:52:49 -08:00 committed by GitHub
commit 39dfbeb9f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -38,10 +38,10 @@ See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.
</p>
</div>
<div id="button_selection">
<div id="yes" class="button_confirmation grey_background" onClick="screenConfirmed(true)">
<div id="yes" class="button_confirmation grey_background" onclick="screenConfirmed(true)">
YES, SHARE THIS CONTENT
</div>
<div id="no" class="button_confirmation" onClick="screenConfirmed(false)">
<div id="no" class="button_confirmation" onclick="screenConfirmed(false)">
No, don't share this content
</div>
</div>

View file

@ -172,6 +172,7 @@ function showSources() {
// Stop the localstream and end the tokrok publishing
let localStream;
let desktopSharing;
function stopSharing() {
desktopSharing = false;