Hacker News new | ask | show | jobs
by aorth 2067 days ago
Teams is an Electron app (like Skype, Signal, VS Code, Atom, etc), which is based on Chromium. Chromium doesn't have Wayland support yet so those run via XWayland. Things should get better once Chromium supports Wayland properly (soon, as it finally entered beta in 2020-09):

https://www.phoronix.com/scan.php?page=news_item&px=Chrome-8...

1 comments

Electron running on Wayland natively isn't relevant to its ability to screen-share. Even if it were running on Wayland it wouldn't be able to screen-share just based on that alone, because having a Wayland window doesn't have anything to do with screen sharing.

Native applications these days have the option to use pipewire and xdg-desktop-portal for screen-sharing, and it doesn't matter whether they use that from a Wayland window or an Xwayland window. Both Firefox (under Wayland) and Chromium (under Xwayland) use this method today.

Unfortunately Teams does not use that method and instead calls an X function directly, which crashes, as I wrote in the sibling comment.