server

module
v0.0.0-...-3c84d77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2026 License: MIT

Directories

Path Synopsis
asr
asripc
Package asripc defines the length-prefixed JSON wire protocol used for IPC between the switchframe server and the ASR sidecar process over a Unix socket.
Package asripc defines the length-prefixed JSON wire protocol used for IPC between the switchframe server and the ASR sidecar process over a Unix socket.
shmring
Package shmring provides a POSIX shared memory SPSC ring buffer for passing PCM audio between the switchframe server and the ASR sidecar.
Package shmring provides a POSIX shared memory SPSC ring buffer for passing PCM audio between the switchframe server and the ASR sidecar.
Package audio implements the server-side audio mixing engine.
Package audio implements the server-side audio mixing engine.
vec
Package vec provides SIMD-accelerated float32 vector operations for the audio mixing hot path.
Package vec provides SIMD-accelerated float32 vector operations for the audio mixing hot path.
Package clip provides media clip storage and playback for the Switchframe switcher.
Package clip provides media clip storage and playback for the Switchframe switcher.
Package clock provides PTP-microsecond time + sync-state detection.
Package clock provides PTP-microsecond time + sync-state detection.
cmd
generate-luts command
Command generate-luts creates the built-in .cube LUT files for color grading.
Command generate-luts creates the built-in .cube LUT files for color grading.
loadtest command
loadtest drives N synthetic V210 sources into an in-process switcher + mixer and emits one NDJSON sample per tick plus a final summary.
loadtest drives N synthetic V210 sources into an in-process switcher + mixer and emits one NDJSON sample per tick plus a final summary.
sf-team command
Command sf-team is the multi-agent coordination CLI for Switchframe.
Command sf-team is the multi-agent coordination CLI for Switchframe.
switchframe command
server/cmd/switchframe/main.go
server/cmd/switchframe/main.go
switchframe-asr command
Package cmdqueue provides a PTP-timed command queue for multi-region active-active command scheduling.
Package cmdqueue provides a PTP-timed command queue for multi-region active-active command scheduling.
Package codec provides shared video and audio codec infrastructure for Switchframe's server-side pipeline.
Package codec provides shared video and audio codec infrastructure for Switchframe's server-side pipeline.
Package control provides the REST API and state broadcast for the Switchframe video switcher.
Package control provides the REST API and state broadcast for the Switchframe video switcher.
httperr
Package httperr provides helpers for writing JSON error responses.
Package httperr provides helpers for writing JSON error responses.
correctness
testutil
Package testutil provides shared test utilities for correctness tests.
Package testutil provides shared test utilities for correctness tests.
Package dve defines types and validation for Digital Video Effects (DVE) transforms applied to video source slots in the compositor pipeline.
Package dve defines types and validation for Digital Video Effects (DVE) transforms applied to video source slots in the compositor pipeline.
Package graphics provides downstream keyer (DSK) compositing and upstream chroma/luma keying for the Switchframe video switcher.
Package graphics provides downstream keyer (DSK) compositing and upstream chroma/luma keying for the Switchframe video switcher.
textrender
Package textrender provides server-side text rendering into RGBA byte slices.
Package textrender provides server-side text rendering into RGBA byte slices.
Package htmlgfx manages an HTML5 graphics rendering sidecar (CEF-based) for broadcast-quality overlay graphics.
Package htmlgfx manages an HTML5 graphics rendering sidecar (CEF-based) for broadcast-quality overlay graphics.
Package ingest defines the protocol-neutral contract between a decoded media source (SRT, RIST, ...) and the switcher pipeline.
Package ingest defines the protocol-neutral contract between a decoded media source (SRT, RIST, ...) and the switcher pipeline.
Package internal provides shared types for the Switchframe server.
Package internal provides shared types for the Switchframe server.
video
Package video provides YUV video frame format definitions, frame filling, and format conversion utilities shared across the switchframe pipeline.
Package video provides YUV video frame format definitions, frame filling, and format conversion utilities shared across the switchframe pipeline.
Package macro provides a macro system for automating sequences of switcher operations (cut, preview, transition, audio adjustments).
Package macro provides a macro system for automating sequences of switcher operations (cut, preview, transition, audio adjustments).
Package metrics provides Prometheus metric definitions and a non-default registry for the Switchframe application.
Package metrics provides Prometheus metric definitions and a non-default registry for the Switchframe application.
Package mmaputil provides memory-mapped allocation utilities.
Package mmaputil provides memory-mapped allocation utilities.
mxl
Package neuralkey wraps the CorridorKey neural green screen keyer, a TensorRT-based inference engine that produces an alpha matte and cleaned foreground from an NV12 input frame plus an optional hint mask.
Package neuralkey wraps the CorridorKey neural green screen keyer, a TensorRT-based inference engine that produces an alpha matte and cleaned foreground from an NV12 input frame plus an optional hint mask.
Package nmos provides NMOS IS-04 resource types and TAI version tracking for SMPTE ST 2110 discovery and connection management.
Package nmos provides NMOS IS-04 resource types and TAI version tracking for SMPTE ST 2110 discovery and connection management.
Package operator provides multi-operator management with role-based subsystem locking for the Switchframe video switcher.
Package operator provides multi-operator management with role-based subsystem locking for the Switchframe video switcher.
Package output implements the recording and streaming output engine.
Package output implements the recording and streaming output engine.
Package peer provides inter-engine health monitoring for active-active redundancy.
Package peer provides inter-engine health monitoring for active-active redundancy.
bxf
Package bxf provides BXF (SMPTE S22) XML types for as-run export and schedule import.
Package bxf provides BXF (SMPTE S22) XML types for as-run export and schedule import.
Package preset provides save/load/recall of named production setups.
Package preset provides save/load/recall of named production setups.
Package preview provides per-source preview encoding for browser multiview.
Package preview provides per-source preview encoding for browser multiview.
Package replay provides an instant replay system with variable-speed playback for live video switching.
Package replay provides an instant replay system with variable-speed playback for live video switching.
Package rist provides RIST (Reliable Internet Stream Transport) ingest for SwitchFrame.
Package rist provides RIST (Reliable Internet Stream Transport) ingest for SwitchFrame.
Package scte104 implements SCTE-104 message types, binary encoding/decoding, and bidirectional translation to/from SCTE-35 CueMessages.
Package scte104 implements SCTE-104 message types, binary encoding/decoding, and bidirectional translation to/from SCTE-35 CueMessages.
Package scte35 wraps the Comcast/scte35-go library into Switchframe's internal CueMessage representation for SCTE-35 splice signaling.
Package scte35 wraps the Comcast/scte35-go library into Switchframe's internal CueMessage representation for SCTE-35 splice signaling.
Package st2110 provides SMPTE ST 2110 professional media transport via Intel Media Transport Library (MTL).
Package st2110 provides SMPTE ST 2110 professional media transport via Intel Media Transport Library (MTL).
Package stmap provides ST map (UV remap) types and processing for lens distortion correction, virtual camera effects, and animated transitions in the video processing pipeline.
Package stmap provides ST map (UV remap) types and processing for lens distortion correction, virtual camera effects, and animated transitions in the video processing pipeline.
Package switcher implements the core video switching engine.
Package switcher implements the core video switching engine.
Package transition implements the video transition engine for dissolves, dips, wipes, fade-to-black, and stinger transitions.
Package transition implements the video transition engine for dissolves, dips, wipes, fade-to-black, and stinger transitions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL