Closed
Description
Electron Version: 6.0.0
Operating System: Ubuntu 18.04 x64
Expected Behavior
desktopCapturer.getSources()
should return an array of length equal to the number of screens/displays with all the information about each screen.
Actual Behavior
desktopCapturer.getSources()
always returns an array of length 1 combining all the screens/displays.
it returns a single screen with id: "screen:0:0"
To Reproduce
const electron = require('electron'); const desktopCapturer = electron.desktopCapturer; desktopCapturer.getSources({ types: ['screen']}, sources => { console.log(sources); });
@codebytere @nornagon can you please address the issue?
Metadata
Metadata
Assignees
Labels
No labels