mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-06 02:33:42 +02:00
fix: Disable hardware acceleration on Windows, it causes screenshare to flicker
This commit is contained in:
parent
6d4f997c87
commit
f348152242
5
main.js
5
main.js
|
@ -29,6 +29,11 @@ const showDevTools = Boolean(process.env.SHOW_DEV_TOOLS) || (process.argv.indexO
|
||||||
// We need this because of https://github.com/electron/electron/issues/18214
|
// We need this because of https://github.com/electron/electron/issues/18214
|
||||||
app.commandLine.appendSwitch('disable-site-isolation-trials');
|
app.commandLine.appendSwitch('disable-site-isolation-trials');
|
||||||
|
|
||||||
|
// We need to disable hardware acceleration on Windows because its causes the screenshare to flicker.
|
||||||
|
if (process.platform === 'win32') {
|
||||||
|
app.commandLine.appendSwitch('disable-gpu');
|
||||||
|
}
|
||||||
|
|
||||||
// Needed until robot.js is fixed: https://github.com/octalmage/robotjs/issues/580
|
// Needed until robot.js is fixed: https://github.com/octalmage/robotjs/issues/580
|
||||||
app.allowRendererProcessReuse = false;
|
app.allowRendererProcessReuse = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue