We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Electron Version: 6.0.0 Operating System: Ubuntu 18.04 x64
desktopCapturer.getSources() should return an array of length equal to the number of screens/displays with all the information about each screen.
desktopCapturer.getSources()
desktopCapturer.getSources() always returns an array of length 1 combining all the screens/displays.
it returns a single screen with id: "screen:0:0"
id: "screen:0:0"
const electron = require('electron'); const desktopCapturer = electron.desktopCapturer; desktopCapturer.getSources({ types: ['screen']}, sources => { console.log(sources); });
@codebytere @nornagon can you please address the issue?
The text was updated successfully, but these errors were encountered:
There is an active upstream bug that addresses this issue: https://bugs.chromium.org/p/chromium/issues/detail?id=396091
It looks like it hasn't landed yet, but whenever it does, it'll start working in the subsequent major Electron release.
Sorry, something went wrong.
There is an active upstream bug that addresses this issue: https://bugs.chromium.org/p/chromium/issues/detail?id=396091 It looks like it hasn't landed yet, but whenever it does, it'll start working in the subsequent major Electron release.
Has the latest version of this problem been solved?
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: