Directories
¶
| Path | Synopsis |
|---|---|
|
Package assets holds Planck's brand files.
|
Package assets holds Planck's brand files. |
|
cmd
|
|
|
planck-client
command
Command planck-client is the Planck desktop client: the native window with the hosts, pairing and settings screens and the stream view.
|
Command planck-client is the Planck desktop client: the native window with the hosts, pairing and settings screens and the stream view. |
|
planck-host
command
Command planck-host streams this machine's display, audio and input to a Planck client.
|
Command planck-host streams this machine's display, audio and input to a Planck client. |
|
planck-spike2
command
Command planck-spike2 runs the Phase 0 capture and encode measurements.
|
Command planck-spike2 runs the Phase 0 capture and encode measurements. |
|
planck-trace
command
Command planck-trace summarizes the per-frame stage traces planck-host and planck-client write when PLANCK_TRACE_HOST and PLANCK_TRACE_CLIENT name a file: p50, p95, p99 and max of each stage, in microseconds.
|
Command planck-trace summarizes the per-frame stage traces planck-host and planck-client write when PLANCK_TRACE_HOST and PLANCK_TRACE_CLIENT name a file: p50, p95, p99 and max of each stage, in microseconds. |
|
planck-vdd
command
Command planck-vdd checks the SudoVDA virtual display driver, which only exists on Windows.
|
Command planck-vdd checks the SudoVDA virtual display driver, which only exists on Windows. |
|
spike-mygo-surface
command
Command spike-mygo-surface measures the vendored MyGo gpusurface: it draws synthetic frames on the GPU, as a hardware decoder would leave them, and presents each with no CPU copy, reporting submit-to-present latency, frame rate, CPU time and Go heap allocations per frame.
|
Command spike-mygo-surface measures the vendored MyGo gpusurface: it draws synthetic frames on the GPU, as a hardware decoder would leave them, and presents each with no CPU copy, reporting submit-to-present latency, frame rate, CPU time and Go heap allocations per frame. |
|
spike-transport
command
Command spike-transport benchmarks Planck media transports between a host (sender) and a client (receiver): quic-go RFC 9221 datagrams versus raw UDP sealed with keys exported from a QUIC control connection, with sub-frame slicing, Reed-Solomon FEC and simulated loss and jitter.
|
Command spike-transport benchmarks Planck media transports between a host (sender) and a client (receiver): quic-go RFC 9221 datagrams versus raw UDP sealed with keys exported from a QUIC control connection, with sub-frame slicing, Reed-Solomon FEC and simulated loss and jitter. |
|
internal
|
|
|
apple
Package apple loads the CoreFoundation, CoreMedia, CoreVideo, and VideoToolbox entry points Planck needs through purego, with no cgo.
|
Package apple loads the CoreFoundation, CoreMedia, CoreVideo, and VideoToolbox entry points Planck needs through purego, with no cgo. |
|
bench
Package bench collects latency samples and summarizes them.
|
Package bench collects latency samples and summarizes them. |
|
clock
Package clock reads the platform's high resolution monotonic counter, the same clock DXGI and ScreenCaptureKit stamp frames with.
|
Package clock reads the platform's high resolution monotonic counter, the same clock DXGI and ScreenCaptureKit stamp frames with. |
|
rtprio
Package rtprio raises the scheduling class of the threads on Planck's media path: receive, decode and present on the client, receive and encode on the host.
|
Package rtprio raises the scheduling class of the threads on Planck's media path: receive, decode and present on the client, receive and encode on the host. |
|
synth
Package synth draws deterministic desktop-like test frames: gradients, fine text-like detail, and a vertical scroll per frame index, so encoders see realistic spatial detail and motion without a live display.
|
Package synth draws deterministic desktop-like test frames: gradients, fine text-like detail, and a vertical scroll per frame index, so encoders see realistic spatial detail and motion without a live display. |
|
telemetry
Package telemetry sends anonymous usage signals to TelemetryDeck (Ingest API v2): that Planck was installed and launched, and that a stream started and ended, with its codec and the kind of route it took.
|
Package telemetry sends anonymous usage signals to TelemetryDeck (Ingest API v2): that Planck was installed and launched, and that a stream started and ended, with its codec and the kind of route it took. |
|
ui
Package ui is Planck's desktop client interface, drawn with MyGo: the icon rail, the Hosts, Statistics and Settings screens, and the stream view with its overlay.
|
Package ui is Planck's desktop client interface, drawn with MyGo: the icon rail, the Hosts, Statistics and Settings screens, and the stream view with its overlay. |
|
ui/theme
Package theme turns Planck's design tokens into a MyGo theme, and registers the brand fonts and icons the client draws with.
|
Package theme turns Planck's design tokens into a MyGo theme, and registers the brand fonts and icons the client draws with. |
|
version
Package version is the one source of Planck's version.
|
Package version is the one source of Planck's version. |
|
win
Package win holds the minimal COM, DXGI, and Direct3D 11 bindings Planck needs, called through syscall with no cgo.
|
Package win holds the minimal COM, DXGI, and Direct3D 11 bindings Planck needs, called through syscall with no cgo. |
|
winres
Package winres makes the Windows resources of planck-client.exe and planck-host.exe and checks a built exe for them.
|
Package winres makes the Windows resources of planck-client.exe and planck-host.exe and checks a built exe for them. |
|
pkg
|
|
|
audio
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. |
|
capture
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. |
|
capture/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. |
|
capture/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.
|
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. |
|
capture/dxgi
Package dxgi captures a Windows display with DXGI Desktop Duplication.
|
Package dxgi captures a Windows display with DXGI Desktop Duplication. |
|
capture/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. |
|
clipboard
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. |
|
config
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. |
|
decode
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). |
|
decode/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). |
|
decode/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. |
|
defaults
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. |
|
discovery
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. |
|
encode
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. |
|
encode/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. |
|
encode/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. |
|
encode/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. |
|
encode/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. |
|
fec
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. |
|
gamepad
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. |
|
gpu
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. |
|
input
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. |
|
linkinfo
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. |
|
player
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. |
|
power
Package power keeps this machine awake while it hosts, and locks it.
|
Package power keeps this machine awake while it hosts, and locks it. |
|
pyrowave
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). |
|
pyrowave/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. |
|
ratectl
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. |
|
tailscale
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. |
|
transport
Package transport carries Planck sessions.
|
Package transport carries Planck sessions. |
|
vdd
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. |
|
wire
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. |
|
scripts
|
|
|
winres
command
Command winres makes the Windows resources (icon and version) of planck-client.exe and planck-host.exe, and checks a built exe for them (internal/winres).
|
Command winres makes the Windows resources (icon and version) of planck-client.exe and planck-host.exe, and checks a built exe for them (internal/winres). |
Click to show internal directories.
Click to hide internal directories.