fix(desktop_sharing): if remote control is disabled
This commit is contained in:
parent
6f0fe06ba6
commit
b869e53713
|
@ -1416,7 +1416,12 @@ export default {
|
|||
_turnScreenSharingOff(didHaveVideo, wasVideoMuted) {
|
||||
this._untoggleScreenSharing = null;
|
||||
this.videoSwitchInProgress = true;
|
||||
APP.remoteControl.receiver.stop();
|
||||
const { receiver } = APP.remoteControl;
|
||||
|
||||
if (receiver) {
|
||||
receiver.stop();
|
||||
}
|
||||
|
||||
let promise = null;
|
||||
|
||||
if (didHaveVideo) {
|
||||
|
|
Loading…
Reference in New Issue