aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorAvram Tudor <tudor.potecaru@8x8.com>2022-10-06 15:32:27 +0300
committerAvram Tudor <tudor.potecaru@8x8.com>2022-10-06 15:32:27 +0300
commit5f3ff0a611460c284bca4dd848ba2dc7dde04c5c (patch)
tree3754bb7795ccd38377bfc0831d71cd38984d0a9f /main.js
parente5d5d9e80fed4c35b778fcf7601abfb717c551bb (diff)
fix(screensharing) add DesktopCaptureMacV2 to disabled-features
This fixes the AoT and screensharing tracker from being captured based on https://github.com/electron/electron/issues/19880
Diffstat (limited to 'main.js')
-rw-r--r--main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.js b/main.js
index 0decb91..29440ad 100644
--- a/main.js
+++ b/main.js
@@ -35,7 +35,7 @@ app.commandLine.appendSwitch('disable-site-isolation-trials');
// This allows BrowserWindow.setContentProtection(true) to work on macOS.
// https://github.com/electron/electron/issues/19880
-app.commandLine.appendSwitch('disable-features', 'IOSurfaceCapturer');
+app.commandLine.appendSwitch('disable-features', 'DesktopCaptureMacV2,IOSurfaceCapturer');
// Enable Opus RED field trial.
app.commandLine.appendSwitch('force-fieldtrials', 'WebRTC-Audio-Red-For-Opus/Enabled/');