electron/electron-quick-start-typescript

Desktop capturer doesn't work with this template

michaelkruglos opened this issue · 0 comments

Using the code from https://www.electronjs.org/docs/api/desktop-capturer (just paste it into the renderer.ts) causes TypeScript errors during npm start, failing to start the process.
The issue seems to be related to incorrect types for navigator.mediaDevices.getUserMedia.