mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-20 14:18:02 +00:00
Enables shared video for all participants, the first to share is the video all will see, later attempts will result just a dialog informing that video is already shared.
This commit is contained in:
@@ -43,8 +43,15 @@ export default class SharedVideoManager {
|
||||
return;
|
||||
}
|
||||
|
||||
showStopVideoPropmpt().then(() =>
|
||||
this.emitter.emit(UIEvents.UPDATE_SHARED_VIDEO, null, 'stop'));
|
||||
if(APP.conference.isLocalId(this.from)) {
|
||||
showStopVideoPropmpt().then(() =>
|
||||
this.emitter.emit(UIEvents.UPDATE_SHARED_VIDEO, null, 'stop'));
|
||||
} else {
|
||||
messageHandler.openMessageDialog(
|
||||
"dialog.shareVideoTitle",
|
||||
"dialog.alreadySharedVideoMsg"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user