You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const { desktopCapturer } = require('electron')
function findSources() {
desktopCapturer.getSources({ types: ['screen'] }, (error, sources) => {
if (error) throw error
for (let i = 0; i < sources.length; ++i) {
console.log('source: ' + sources[i].name);
}
})
}
window.setInterval(findSources, 1000)
Does not happen with type "window" so I suspect an any in either webrtc::ScreenCapturerMac or the way it is started/stopped from chrome/browser/media/webrtc/native_desktop_media_list.cc
The text was updated successfully, but these errors were encountered:
electron 4.0.2
Steps to reproduce:
git clone https://github.com/electron/electron-quick-start
and add the folllowing to renderer.js
Does not happen with type "window" so I suspect an any in either webrtc::ScreenCapturerMac or the way it is started/stopped from chrome/browser/media/webrtc/native_desktop_media_list.cc
The text was updated successfully, but these errors were encountered: