Share Screen with Chromium: Black Screen

If I want to share the screen in Chromium, I see only black screens.

I can share the screen, but the other participants only see a black screen.

Sharing a window or chromium tab works fine.

I use Ubuntu 21.10

chromium-share-screen

Is there a way to make sharing a screen work again?

It is not related to microsoft-teams, since it is the same issue if I use the web version of slack.

Chromium    95.0.4638.69 (Offizieller Build) snap (64-Bit)
Überarbeitung   6a1600ed572fedecd573b6c2b90a22fe6392a410-refs/branch-heads/4638@{#984}
Betriebssystem  Linux
JavaScript  V8 9.5.172.25
User-Agent  Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Befehlszeile    /snap/chromium/1810/usr/lib/chromium-browser/chrome --password-store=basic --flag-switches-begin --flag-switches-end --origin-trial-disabled-features=CaptureHandle
Programmdateipfad   /snap/chromium/1810/usr/lib/chromium-browser/chrome
Profilpfad  /home/guettli/snap/chromium/common/chromium/Default
Varianten   c4c83305-6ce6e1ee

Ubuntu 21.10 uses Wayland by default. Wayland is still being actively developed, and certain features like screen sharing do not function properly.

In your login screen, you can switch to the "Ubuntu"/"Ubuntu on X.Org" session, and screen sharing should work there.

enter image description here Image source: OMG! Ubuntu!