-
Notifications
You must be signed in to change notification settings - Fork 17.1k
Support useSystemPicker on Linux (Wayland/Pipewire) #48223
Copy link
Copy link
Open
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
On Linux with Pipewire, session.setDisplayMediaRequestHandler({ useSystemPicker: true }) does not use the system screen-picker.
With Pipewire it doesn't make sense to use a custom handler, because it always returns only one source and breaks many different electron based apps that provide custom pickers (e. g: element)
Proposed Solution
The behavior that is implemented for macOS with useSystemPicker: true should also work under Linux with Wayland.
Alternatives Considered
Custom code in Electron apps, that detects Wayland and then always picks the first source automatically.
Additional Information
No response
Reactions are currently unavailable