diff --git a/main.js b/main.js index 2c6dc3e..a294ba4 100644 --- a/main.js +++ b/main.js @@ -34,6 +34,9 @@ app.commandLine.appendSwitch('disable-site-isolation-trials'); // https://github.com/electron/electron/issues/19880 app.commandLine.appendSwitch('disable-features', 'IOSurfaceCapturer'); +// Enable Opus RED field trial. +app.commandLine.appendSwitch('force-fieldtrials', 'WebRTC-Audio-Red-For-Opus/Enabled/'); + // Needed until robot.js is fixed: https://github.com/octalmage/robotjs/issues/580 app.allowRendererProcessReuse = false;