Skip to content

Commit

Permalink
Merge pull request #793 from jitsi/tavram/fix-capture
Browse files Browse the repository at this point in the history
fix(screensharing) add DesktopCaptureMacV2 to disabled-features
  • Loading branch information
quitrk authored Oct 6, 2022
2 parents e5d5d9e + 5f3ff0a commit 307ebda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/');
Expand Down

0 comments on commit 307ebda

Please sign in to comment.