diff options
author | Saúl Ibarra Corretgé <s@saghul.net> | 2020-05-27 10:57:03 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <s@saghul.net> | 2020-05-27 10:57:03 +0200 |
commit | 5da33a00941ab1b210d6111e68b28d2182fbb983 (patch) | |
tree | a52efb6934c6b4d130cd26bec0a799f65e6b90c6 | |
parent | 20ec0bfd931e1c34cd553951fac6fe81d0a5d054 (diff) |
Disable HW accelerated codecs
Fixes a crash when H.264 is used (in P2P mode).
-rw-r--r-- | main.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -23,6 +23,10 @@ const config = require('./app/features/config'); // 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; |