Documentation ¶
Overview ¶
Package capture provides interfaces for capturing virtual display output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type PipewireStream ¶
type PipewireStream struct {
// contains filtered or unexported fields
}
PipewireStream uses the org.freedesktop.portal.ScreenCast portal granted by xdg-desktop-portal to generate a pipewire stream for screen capture.
func NewPipewire ¶
func NewPipewire() (ret *PipewireStream, err error)
func (*PipewireStream) Close ¶
func (p *PipewireStream) Close() error
type Writeback ¶
type Writeback struct { }
Writeback uses DRM writeback connectors for output.
See https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/458 for example implementation.
This capture backend is not possible without more widespread support for DRM leasing. The required mode and prop setting is gated by being the DRM master, which won't reasonably be us.
Click to show internal directories.
Click to hide internal directories.