aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvram Tudor <tudor.potecaru@gmail.com>2022-10-06 15:55:35 +0300
committerGitHub <noreply@github.com>2022-10-06 15:55:35 +0300
commit307ebdaeafd88c2d455728ae3c3c9b001ca8aeaf (patch)
tree3754bb7795ccd38377bfc0831d71cd38984d0a9f
parente5d5d9e80fed4c35b778fcf7601abfb717c551bb (diff)
parent5f3ff0a611460c284bca4dd848ba2dc7dde04c5c (diff)
Merge pull request #793 from jitsi/tavram/fix-capture
fix(screensharing) add DesktopCaptureMacV2 to disabled-features
-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/');