Directories
¶
| Path | Synopsis |
|---|---|
|
Package audio carries Planck's game audio: capture on the host, Opus encode and decode, a jitter buffer on the client, and playback.
|
Package audio carries Planck's game audio: capture on the host, Opus encode and decode, a jitter buffer on the client, and playback. |
|
Package capture defines the screen capture contract shared by the platform backends: DXGI Desktop Duplication on Windows, ScreenCaptureKit on macOS, and PipeWire or KMS on Linux.
|
Package capture defines the screen capture contract shared by the platform backends: DXGI Desktop Duplication on Windows, ScreenCaptureKit on macOS, and PipeWire or KMS on Linux. |
|
cursor
Package cursor reads the host's system cursor: whether it shows, whether an app holds the mouse, and where it is.
|
Package cursor reads the host's system cursor: whether it shows, whether an app holds the mouse, and where it is. |
|
display
Package display lists the capturable displays of this machine and opens one with the platform's capture backend: DXGI Desktop Duplication on Windows, ScreenCaptureKit on macOS, and MIT-SHM or the desktop portal's PipeWire stream on Linux.
|
Package display lists the capturable displays of this machine and opens one with the platform's capture backend: DXGI Desktop Duplication on Windows, ScreenCaptureKit on macOS, and MIT-SHM or the desktop portal's PipeWire stream on Linux. |
|
dxgi
Package dxgi captures a Windows display with DXGI Desktop Duplication.
|
Package dxgi captures a Windows display with DXGI Desktop Duplication. |
|
pipewire
Package pipewire captures a Wayland desktop through the XDG desktop portal's ScreenCast interface: the portal asks the user which monitor to share (once, with a restore token after that) and hands over a PipeWire node, which a PipeWire stream (libpipewire-0.3, loaded with purego) consumes as DMA-BUFs or shared memory.
|
Package pipewire captures a Wayland desktop through the XDG desktop portal's ScreenCast interface: the portal asks the user which monitor to share (once, with a restore token after that) and hands over a PipeWire node, which a PipeWire stream (libpipewire-0.3, loaded with purego) consumes as DMA-BUFs or shared memory. |
|
sck
Package sck captures a macOS display with ScreenCaptureKit through purego, with no cgo.
|
Package sck captures a macOS display with ScreenCaptureKit through purego, with no cgo. |
|
x11
Package x11 captures an Xorg (or XWayland) screen with MIT-SHM: each frame is one XShmGetImage of a monitor's rectangle of the root window into shared memory, which the encoder reads in place.
|
Package x11 captures an Xorg (or XWayland) screen with MIT-SHM: each frame is one XShmGetImage of a monitor's rectangle of the root window into shared memory, which the encoder reads in place. |
|
Package clipboard reads, writes and watches the system clipboard for sharing it between host and client.
|
Package clipboard reads, writes and watches the system clipboard for sharing it between host and client. |
|
codec
|
|
|
hevc
Package hevc parses the HEVC syntax a hardware decoder that takes parsed parameters (VA-API) needs from an Annex B stream: NAL units, the sequence and picture parameter sets, slice segment headers, reference picture sets and picture order counts (ITU-T H.265, 7.3 and 8.3); and writes the parameter sets and slice headers of a low-delay stream, for a hardware encoder that takes them packed (VA-API).
|
Package hevc parses the HEVC syntax a hardware decoder that takes parsed parameters (VA-API) needs from an Annex B stream: NAL units, the sequence and picture parameter sets, slice segment headers, reference picture sets and picture order counts (ITU-T H.265, 7.3 and 8.3); and writes the parameter sets and slice headers of a low-delay stream, for a hardware encoder that takes them packed (VA-API). |
|
Package config persists Planck host and client settings as JSON in the user's config directory, and manages the host's TLS identity and the client's pinned host certificates.
|
Package config persists Planck host and client settings as JSON in the user's config directory, and manages the host's TLS identity and the client's pinned host certificates. |
|
Package decode defines the hardware video decoder contract shared by the platform backends: Media Foundation on Direct3D 11 (Windows) and VideoToolbox (macOS).
|
Package decode defines the hardware video decoder contract shared by the platform backends: Media Foundation on Direct3D 11 (Windows) and VideoToolbox (macOS). |
|
d3d11
Package d3d11 decodes HEVC and AV1 on the GPU of a Direct3D 11 device through a Media Foundation decoder transform made aware of the device (DXVA).
|
Package d3d11 decodes HEVC and AV1 on the GPU of a Direct3D 11 device through a Media Foundation decoder transform made aware of the device (DXVA). |
|
internal/hostbuf
Package hostbuf keeps decoded Linux pictures in memory: NV12 or P010 planes in memfd-backed mappings, which a Wayland compositor maps as wl_shm buffers with no copy, described by capture.DMABuf with Memory set.
|
Package hostbuf keeps decoded Linux pictures in memory: NV12 or P010 planes in memfd-backed mappings, which a Wayland compositor maps as wl_shm buffers with no copy, described by capture.DMABuf with Memory set. |
|
linuxdec
Package linuxdec picks a Linux hardware decoder: VA-API or NVDEC.
|
Package linuxdec picks a Linux hardware decoder: VA-API or NVDEC. |
|
nvdec
Package nvdec decodes HEVC and AV1 on NVIDIA GPUs under Linux with NVDEC, through libcuda.so.1 and libnvcuvid.so.1 loaded with purego (no cgo).
|
Package nvdec decodes HEVC and AV1 on NVIDIA GPUs under Linux with NVDEC, through libcuda.so.1 and libnvcuvid.so.1 loaded with purego (no cgo). |
|
vaapi
Package vaapi decodes HEVC on Linux with VA-API (Intel, AMD, and NVIDIA through nvidia-vaapi-driver), through libva.so.2 and libva-drm.so.2 loaded with purego (no cgo).
|
Package vaapi decodes HEVC on Linux with VA-API (Intel, AMD, and NVIDIA through nvidia-vaapi-driver), through libva.so.2 and libva-drm.so.2 loaded with purego (no cgo). |
|
vt
Package vt decodes HEVC and AV1 with Apple VideoToolbox through purego, with no cgo.
|
Package vt decodes HEVC and AV1 with Apple VideoToolbox through purego, with no cgo. |
|
Package defaults picks a session's stream settings from what the host, the client and the route between them can do, with user overrides on top.
|
Package defaults picks a session's stream settings from what the host, the client and the route between them can do, with user overrides on top. |
|
Package discovery finds Planck hosts on the LAN and the tailnet and picks the best path to one.
|
Package discovery finds Planck hosts on the LAN and the tailnet and picks the best path to one. |
|
Package encode defines the hardware video encoder contract shared by the vendor backends: NVENC, AMF, oneVPL (Quick Sync), and VideoToolbox.
|
Package encode defines the hardware video encoder contract shared by the vendor backends: NVENC, AMF, oneVPL (Quick Sync), and VideoToolbox. |
|
all
Package all registers every hardware encoder backend of the platform with pkg/encode, for encode.Open.
|
Package all registers every hardware encoder backend of the platform with pkg/encode, for encode.Open. |
|
encodetest
Package encodetest runs hardware encoders on synthetic GPU frames for the encode, decode and player tests.
|
Package encodetest runs hardware encoders on synthetic GPU frames for the encode, decode and player tests. |
|
nvenc
Package nvenc drives NVIDIA's hardware encoder through nvEncodeAPI64.dll's function table, with no cgo and no NVIDIA SDK at build time.
|
Package nvenc drives NVIDIA's hardware encoder through nvEncodeAPI64.dll's function table, with no cgo and no NVIDIA SDK at build time. |
|
vaapi
Package vaapi encodes HEVC on Linux with VA-API (Intel's iHD and AMD's radeonsi drivers), through libva.so.2 and libva-drm.so.2 loaded with purego (no cgo).
|
Package vaapi encodes HEVC on Linux with VA-API (Intel's iHD and AMD's radeonsi drivers), through libva.so.2 and libva-drm.so.2 loaded with purego (no cgo). |
|
vt
Package vt drives Apple VideoToolbox hardware HEVC encode and decode through purego, with no cgo.
|
Package vt drives Apple VideoToolbox hardware HEVC encode and decode through purego, with no cgo. |
|
Package fec protects video slices with Reed-Solomon parity sized from the receiver's measured loss, and rebuilds them on the receiving side.
|
Package fec protects video slices with Reed-Solomon parity sized from the receiver's measured loss, and rebuilds them on the receiving side. |
|
Package gamepad reads the controllers attached to a client, maps their raw buttons and axes onto the XInput layout Planck sends (with SDL gamecontrollerdb mapping strings for import and export), applies the user's calibration, and drives virtual controllers on a host.
|
Package gamepad reads the controllers attached to a client, maps their raw buttons and axes onto the XInput layout Planck sends (with SDL gamecontrollerdb mapping strings for import and export), applies the user's calibration, and drives virtual controllers on a host. |
|
Package gpu names graphics adapters across platforms so that capture and encode backends can agree on which device owns a frame.
|
Package gpu names graphics adapters across platforms so that capture and encode backends can agree on which device owns a frame. |
|
Package input carries keyboard, mouse, and gamepad input from the client to the host: a fixed binary wire format, key code tables, and host injectors.
|
Package input carries keyboard, mouse, and gamepad input from the client to the host: a fixed binary wire format, key code tables, and host injectors. |
|
Package linkinfo finds the local interface that routes to a peer, whether it is wired, and its link speed.
|
Package linkinfo finds the local interface that routes to a peer, whether it is wired, and its link speed. |
|
Package phaselock lines the host's frames up with the client display's scan-out.
|
Package phaselock lines the host's frames up with the client display's scan-out. |
|
Package player shows a stream of encoded pictures in a window: a hardware decoder on the window surface's own GPU device, each picture presented from the decoder's texture with no copy.
|
Package player shows a stream of encoded pictures in a window: a hardware decoder on the window surface's own GPU device, each picture presented from the decoder's texture with no copy. |
|
Package power keeps this machine awake while it hosts, and locks it.
|
Package power keeps this machine awake while it hosts, and locks it. |
|
Package pyrowave is a Go port of PyroWave, Hans-Kristian Arntzen's intra-only wavelet video codec for local game streaming (https://github.com/Themaister/pyrowave, MIT, bitstream v1 at a32b05e0).
|
Package pyrowave is a Go port of PyroWave, Hans-Kristian Arntzen's intra-only wavelet video codec for local game streaming (https://github.com/Themaister/pyrowave, MIT, bitstream v1 at a32b05e0). |
|
ref
Package ref is a CPU PyroWave encoder and decoder in float32, the reference the GPU kernels are tested against.
|
Package ref is a CPU PyroWave encoder and decoder in float32, the reference the GPU kernels are tested against. |
|
Package ratectl picks the video bitrate from receiver feedback, in the style of Google Congestion Control: a delay-gradient trendline detects queue build-up early, loss caps the rate when the path drops packets, and a per-path ceiling bounds both.
|
Package ratectl picks the video bitrate from receiver feedback, in the style of Google Congestion Control: a delay-gradient trendline detects queue build-up early, loss caps the rate when the path drops packets, and a per-path ceiling bounds both. |
|
Package tailscale is a small client for the local Tailscale daemon's LocalAPI.
|
Package tailscale is a small client for the local Tailscale daemon's LocalAPI. |
|
Package transport carries Planck sessions.
|
Package transport carries Planck sessions. |
|
Package vdd drives the SudoVDA indirect display driver on Windows: it adds a virtual monitor per client at the client's resolution and refresh rate, binds its rendering to a chosen GPU, and removes it again.
|
Package vdd drives the SudoVDA indirect display driver on Windows: it adds a virtual monitor per client at the client's resolution and refresh rate, binds its rendering to a chosen GPU, and removes it again. |
|
Package wire defines Planck protocol v1: control messages carried as length-prefixed frames on the QUIC control stream, and the plaintext layouts of media datagrams carried over AEAD-sealed UDP.
|
Package wire defines Planck protocol v1: control messages carried as length-prefixed frames on the QUIC control stream, and the plaintext layouts of media datagrams carried over AEAD-sealed UDP. |
Click to show internal directories.
Click to hide internal directories.