From fde36ff5deecc93be3148c7184fbb966db960e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 1 Oct 2020 15:34:53 +0200 Subject: [PATCH] Revert "Remove no longer needed workaround" This reverts commit b2a349a718dcd6ddf5abb0b897345226fd98981d. --- main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.js b/main.js index 72c730a..b5adc02 100644 --- a/main.js +++ b/main.js @@ -28,6 +28,10 @@ const showDevTools = Boolean(process.env.SHOW_DEV_TOOLS) || (process.argv.indexO // We need this because of https://github.com/electron/electron/issues/18214 app.commandLine.appendSwitch('disable-site-isolation-trials'); +// https://bugs.chromium.org/p/chromium/issues/detail?id=1086373 +app.commandLine.appendSwitch('disable-webrtc-hw-encoding'); +app.commandLine.appendSwitch('disable-webrtc-hw-decoding'); + // Needed until robot.js is fixed: https://github.com/octalmage/robotjs/issues/580 app.allowRendererProcessReuse = false;