aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorSaúl Ibarra Corretgé <s@saghul.net>2020-10-01 15:34:53 +0200
committerSaúl Ibarra Corretgé <s@saghul.net>2020-10-01 15:34:53 +0200
commitfde36ff5deecc93be3148c7184fbb966db960e2a (patch)
tree4074f3dc0cc14fa00220ccb4205f9054a0f3040c /main.js
parent33d3f4d17c051a1c1a1034d6a0d7d49bf4c10340 (diff)
Revert "Remove no longer needed workaround"
This reverts commit b2a349a718dcd6ddf5abb0b897345226fd98981d.
Diffstat (limited to 'main.js')
-rw-r--r--main.js4
1 files changed, 4 insertions, 0 deletions
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;