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.
|
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. |
|
dxgi
Package dxgi captures a Windows display with DXGI Desktop Duplication.
|
Package dxgi captures a Windows display with DXGI Desktop Duplication. |
|
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. |
|
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. |
|
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). |
|
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. |
|
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 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.