Merge pull request #256 from SimonBrandner/fix/screen-sharing-wayland/18607

Enable Pipewire support for Wayland screen-sharing
This commit is contained in:
David Baker 2021-08-18 15:06:02 +01:00 committed by GitHub
commit 4117f3f858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -780,6 +780,7 @@ ipcMain.on('seshat', async function(ev, payload) {
});
app.commandLine.appendSwitch('--enable-usermedia-screen-capturing');
app.commandLine.appendSwitch('enable-features', 'WebRTCPipeWireCapturer');
const gotLock = app.requestSingleInstanceLock();
if (!gotLock) {