mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
RTC-5104: screensharing indicator (#536)
* RTC-5104: screensharing indicator * RTC-5104: screensharing indicator, windows fixes
This commit is contained in:
committed by
Vishwas Shashidhar
parent
4832c28dd2
commit
9609bc7976
@@ -17,6 +17,7 @@ const { bringToFront } = require('./bringToFront.js');
|
||||
const eventEmitter = require('./eventEmitter');
|
||||
const { isMac } = require('./utils/misc');
|
||||
const { openScreenPickerWindow } = require('./desktopCapturer');
|
||||
const { openScreenSharingIndicator } = require('./screenSharingIndicator');
|
||||
const { setPreloadMemoryInfo, setIsInMeeting, setPreloadWindow } = require('./memoryMonitor');
|
||||
|
||||
const apiEnums = require('./enums/api.js');
|
||||
@@ -179,6 +180,11 @@ electron.ipcMain.on(apiName, (event, arg) => {
|
||||
windowMgr.handleKeyPress(arg.keyCode);
|
||||
}
|
||||
break;
|
||||
case apiCmds.openScreenSharingIndicator:
|
||||
if (typeof arg.displayId === 'string' && typeof arg.id === 'number') {
|
||||
openScreenSharingIndicator(event.sender, arg.displayId, arg.id);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user