Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screenshare sources dialog crashes on Linux with pipewire #1542

Open
Unbreathable opened this issue Mar 7, 2024 · 0 comments
Open

Screenshare sources dialog crashes on Linux with pipewire #1542

Unbreathable opened this issue Mar 7, 2024 · 0 comments

Comments

@Unbreathable
Copy link

Describe the bug
When I use desktopCapturer.getSources(types: [SourceType.Screen]) on Linux on a system that is using Pipewire, I get an error and the ScreenSelectDialog is also broken (it just shows an error). This is probably because Pipewire prompts the user to select a screen, window or region they wanna share and Flutter WebRTC is just not waiting for this response.
Pipewire is also the new standard to record audio, video and stuff on Linux for these kinds of things, so it would be good to support it.

To Reproduce
Use the dialog or method on a Wayland based distro with Pipewire.

Expected behavior
Since the ScreenSelectDialog is kind of unnecessary on a system with Pipewire, one solution would just be displaying some message telling the user to select the screen/window in the dialog from Pipewire. But there may also be other solutons here, I think that's something for you guys to decide.

Platform information

  • Flutter version: 3.19.2
  • Plugin version: 0.9.48+hotfix.1
  • OS: Linux Desktop with Wayland and Pipewire
  • OS version: Arch Linux (doesn't really have a version)
  • You can probably just try this on Fedora because it has the exact same configuration as I do on Arch and also has Pipewire and Wayland by default (the Gnome version).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant