diff options
author | Saúl Ibarra Corretgé <s@saghul.net> | 2020-10-01 15:34:53 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <s@saghul.net> | 2020-10-01 15:34:53 +0200 |
commit | fde36ff5deecc93be3148c7184fbb966db960e2a (patch) | |
tree | 4074f3dc0cc14fa00220ccb4205f9054a0f3040c /main.js | |
parent | 33d3f4d17c051a1c1a1034d6a0d7d49bf4c10340 (diff) |
Revert "Remove no longer needed workaround"
This reverts commit b2a349a718dcd6ddf5abb0b897345226fd98981d.
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |