How to check mutter screencast portal is avaliable?
The application will stream the selected monitor if the mutter screencast portal is available. If it is unavailable, a fallback to X11 based frame grabbing will happen. As such, it should work fine in almost all setups.
I checked https://jgrulich.cz/2018/07/04/how-to-enable-and-use-screen-sharing-on-wayland/ and https://wiki.gnome.org/Projects/Mutter/RemoteDesktop and not sure how to check if any of that options (screencast portal, xdg-desktop -portal) is avaliable
Any command to check if I have everything setup correctly? I'm on arch linux and wayland
$ echo $XDG_SESSION_TYPE
wayland