mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
Merge pull request #2091 from jitsi/remote_control_disable
fix(desktop_sharing): if remote control is disabled
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user