pub enum CastKind {
PipeWire,
WlrScreencopy,
ExtImageCopyCapture,
ExtImageCopyCaptureCursor,
}Expand description
Kind of screencast.
Variants§
PipeWire
PipeWire screencast, typically via xdg-desktop-portal-gnome.
WlrScreencopy
wlr-screencopy protocol screencast.
Tools like wf-recorder, and the xdg-desktop-portal-wlr portal.
Only wlr-screencopy with damage tracking is reported here. Screencopy without damage is treated as a regular screenshot and not reported as a screencast.
ExtImageCopyCapture
ext-image-copy-capture protocol screencast.
Tools like wayvnc, wl-mirror, and the xdg-desktop-portal-wlr portal.
A client capturing both an output and the cursor creates two sessions, which are reported
as two Casts sharing one session_id.
A session is reported once it requests its second frame. Sessions requesting only one frame are treated as regular screenshots (e.g. grim) and not reported as screencasts.
ExtImageCopyCaptureCursor
ext-image-copy-capture protocol cursor screencast.
Casts of this kind show the image of the cursor and cursor position. Their
target indicates the output or window that the cursor is captured over.
Like ExtImageCopyCapture, reported once the session
requests its second frame.