diff options
author | Christoph Settgast <csett86@web.de> | 2021-05-12 21:06:17 +0200 |
---|---|---|
committer | Christoph Settgast <csett86@web.de> | 2021-05-12 21:07:47 +0200 |
commit | 0e0483cbc52a9cad1fef51ed5abb846bd6445b11 (patch) | |
tree | b103384b10cea84627cf7b21e4eba13cee05d0fe /main.js | |
parent | 22b34066132f7dd39920e7f3a2f3d3eb26695374 (diff) |
feat(linux): enable PipeWire support for screensharing
This is required on wayland based desktops like Fedora 34 or
Ubuntu 21.04.
Closes: #567
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -37,6 +37,9 @@ app.commandLine.appendSwitch('disable-features', 'IOSurfaceCapturer'); // Enable Opus RED field trial. app.commandLine.appendSwitch('force-fieldtrials', 'WebRTC-Audio-Red-For-Opus/Enabled/'); +// Enable optional PipeWire support. +app.commandLine.appendSwitch('enable-features', 'WebRTCPipeWireCapturer'); + // Needed until robot.js is fixed: https://github.com/octalmage/robotjs/issues/580 app.allowRendererProcessReuse = false; |