pub fn screen_source() -> SourceExpand description
Returns the capture source of the main screen, as VideoSource::screen opens it.
In a Wayland session on Linux with the pipewire feature, this is the
desktop portal’s screen picker. Elsewhere it is the main display, which
VideoSource::capture still tries through the portal first on an X11
session with that feature. Use it to set a size or a rate on the capture
config of a screen. The portal’s selection keeps no grant across runs;
use a PortalGrant’s selection for that.