mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #16504 from MiladNazeri/screenshare-desktopsharing-fix
added desktopSharing var
This commit is contained in:
commit
39dfbeb9f8
2 changed files with 3 additions and 2 deletions
screenshare/src
|
@ -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>
|
||||
|
|
|
@ -172,6 +172,7 @@ function showSources() {
|
|||
|
||||
// Stop the localstream and end the tokrok publishing
|
||||
let localStream;
|
||||
let desktopSharing;
|
||||
function stopSharing() {
|
||||
desktopSharing = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue