Merge pull request #2091 from jitsi/remote_control_disable
fix(desktop_sharing): if remote control is disabled
This commit is contained in:
commit
40377634f2
|
@ -1416,7 +1416,12 @@ export default {
|
||||||
_turnScreenSharingOff(didHaveVideo, wasVideoMuted) {
|
_turnScreenSharingOff(didHaveVideo, wasVideoMuted) {
|
||||||
this._untoggleScreenSharing = null;
|
this._untoggleScreenSharing = null;
|
||||||
this.videoSwitchInProgress = true;
|
this.videoSwitchInProgress = true;
|
||||||
APP.remoteControl.receiver.stop();
|
const { receiver } = APP.remoteControl;
|
||||||
|
|
||||||
|
if (receiver) {
|
||||||
|
receiver.stop();
|
||||||
|
}
|
||||||
|
|
||||||
let promise = null;
|
let promise = null;
|
||||||
|
|
||||||
if (didHaveVideo) {
|
if (didHaveVideo) {
|
||||||
|
|
Loading…
Reference in New Issue