flathub / org.jitsi.jitsi-meet

https://flathub.org/apps/details/org.jitsi.jitsi-meet
6 stars 7 forks source link

Can't share screen #46

Open wjt opened 2 years ago

wjt commented 2 years ago

On the development branch of Endless OS, which is a Wayland GNOME 41 session, this Jitsi Meet app cannot share the screen.

Capture d’écran de 2022-05-18 15-33-41 Capture d’écran de 2022-05-18 15-33-40

This is an Electron app. I don't know whether the Electron is new enough to support Chromium's WebRTCPipeWireCapturer flag, but if it is, it might be sufficient to just enable that.

wjt commented 2 years ago

By way of comparison, meet.jit.si in the Flathub version of Chromium can share my screen.

Capture d’écran de 2022-05-18 15-36-46

modzilla99 commented 2 years ago

Works in the latest version with Gnome 42 on Fedora

csett86 commented 1 year ago

@wjt have another try with yesterdays version 2022.11.0, others report that it now works fine (https://github.com/jitsi/jitsi-meet-electron/issues/785)

Please launch it with wayland enabled, as described in the README: https://github.com/flathub/org.jitsi.jitsi-meet#wayland-support

wjt commented 1 year ago

I ran Jitsi with:

flatpak run --env=JITSI_USE_WAYLAND=1 org.jitsi.jitsi-meet

I joined a meeting. I pressed the Share button. Here is what I see:

Screenshot from 2022-11-22 09-29-37

I then Alt-Tabbed to and from this browser window a couple of times, and Jitsi Meet logged the following to the terminal:

[2:1122/093046.026323:ERROR:wayland_event_watcher.cc(36)] libwayland: wl_surface@60: error 0: gtk_shell::get_gtk_surface already requested

and then died with SIGTRAP.

If I run Jitsi without JITSI_USE_WAYLAND=1, I see the same results, except without the crash. I think telling Chromium to act as a Wayland client is a red herring – X clients can use the portal too.

It actually is possible to trigger the portal dialog, with or without JITSI_USE_WAYLAND=1, as follows:

  1. On the broken popover above, click Share
  2. The broken popover vanishes and the portal dialog appears:

Screenshot from 2022-11-22 09-33-40

  1. Pick a window or screen to share in the portal dialog

So it is no longer true that I can't share the screen; the flow just looks super broken.

maymage commented 1 year ago

@wjt

The upstream issue is

https://bugs.chromium.org/p/chromium/issues/detail?id=1281200&q=pipewire&can=2&sort=-modified

Not much to be done here in the flathub repo.

modzilla99 commented 1 year ago

Screensharing broke again. Anyone experiencing the same problem? I'm on Fedora 38.

ananace commented 1 year ago

Yeah, screensharing seems completely broken - at least on Wayland. I've also tested with the XWaylandVideoBridge, and it still crashes if I open the sharing dialog.

q-wertz commented 10 months ago

Also not working on Manjaro with Gnome 44.5