Skip to main content

Module capture

Module capture 

Expand description

Screen capture via the XDG Desktop Portal (org.freedesktop.portal.ScreenCast, through the [ashpd] crate) — the native crate::host::ScreenCaptureProvider, with the portal feature on Unix.

The portal lets the user pick a monitor or window, starts the cast and hands back the first stream’s PipeWire node, which the app then opens (for example with pipewiresrc). The handshake runs on the app runtime (tilo_rt::app), bounded so an unresponsive portal or a picker nobody answers cannot wedge the request forever; the outcome wakes the event loop.

Structs§

DesktopScreenCapture
The native screen-capture provider.