aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorSaúl Ibarra Corretgé <s@saghul.net>2021-04-14 10:35:09 +0200
committerSaúl Ibarra Corretgé <s@saghul.net>2021-04-14 10:39:04 +0200
commit10ac02c57f471a6efca43c0bc8b8b9c1fb73179b (patch)
tree8c2cc76b41e3772a7bfe2ca1ea4e4968057934ec /main.js
parentf484312cd3366fdf1938af11b33d08280b2f79fd (diff)
Enable field trial to enable Opus RED
Diffstat (limited to 'main.js')
-rw-r--r--main.js3
1 files changed, 3 insertions, 0 deletions
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;