Directories
¶
| Path | Synopsis |
|---|---|
|
Package certs generates self-signed ECDSA P-256 certificates for WebTransport, which requires certificates with at most 14-day validity.
|
Package certs generates self-signed ECDSA P-256 certificates for WebTransport, which requires certificates with at most 14-day validity. |
|
cmd
|
|
|
prism
command
|
|
|
Package demux implements MPEG-TS demuxing with H.264/H.265 video and AAC audio parsing.
|
Package demux implements MPEG-TS demuxing with H.264/H.265 video and AAC audio parsing. |
|
Package distribution implements the WebTransport-based viewer delivery layer, including the fan-out relay, MoQ session management, and the HTTP/QUIC server that ties them together.
|
Package distribution implements the WebTransport-based viewer delivery layer, including the fan-out relay, MoQ session management, and the HTTP/QUIC server that ties them together. |
|
examples
|
|
|
custom-ingest
command
Custom ingest: feed an MPEG-TS file directly without SRT.
|
Custom ingest: feed an MPEG-TS file directly without SRT. |
|
minimal-server
command
Minimal Prism server: SRT ingest → demux → pipeline → relay → WebTransport.
|
Minimal Prism server: SRT ingest → demux → pipeline → relay → WebTransport. |
|
Package ingest manages active ingest connections, coupling SRT byte readers with metadata, lifecycle signaling, and pipeline dispatch.
|
Package ingest manages active ingest connections, coupling SRT byte readers with metadata, lifecycle signaling, and pipeline dispatch. |
|
srt
Package srt implements SRT (Secure Reliable Transport) ingest, including both listener-mode (Server) for accepting incoming publish connections and caller-mode (Caller) for pulling streams from remote SRT sources.
|
Package srt implements SRT (Secure Reliable Transport) ingest, including both listener-mode (Server) for accepting incoming publish connections and caller-mode (Caller) for pulling streams from remote SRT sources. |
|
Package media defines the core frame types that flow through the Prism processing pipeline, from demuxing through distribution.
|
Package media defines the core frame types that flow through the Prism processing pipeline, from demuxing through distribution. |
|
Package moq implements the wire-protocol codec for MoQ Transport (draft-ietf-moq-transport-15), including control message parsing and serialization, media format conversion (Annex B → AVC1, ADTS stripping, decoder configuration records), and typed error definitions.
|
Package moq implements the wire-protocol codec for MoQ Transport (draft-ietf-moq-transport-15), including control message parsing and serialization, media format conversion (Annex B → AVC1, ADTS stripping, decoder configuration records), and typed error definitions. |
|
Package mpegts implements MPEG-TS demuxing for transport stream parsing.
|
Package mpegts implements MPEG-TS demuxing for transport stream parsing. |
|
Package pipeline orchestrates the demux-to-distribution data flow for a single stream, forwarding video, audio, and caption frames from the Demuxer to the Relay while collecting telemetry.
|
Package pipeline orchestrates the demux-to-distribution data flow for a single stream, forwarding video, audio, and caption frames from the Demuxer to the Relay while collecting telemetry. |
|
Package scte35 implements encoding and decoding of SCTE-35 splice information sections per the ANSI/SCTE 35 specification.
|
Package scte35 implements encoding and decoding of SCTE-35 splice information sections per the ANSI/SCTE 35 specification. |
|
Package stream tracks the lifecycle of active live streams, providing create/remove/list operations used by the ingest and distribution layers.
|
Package stream tracks the lifecycle of active live streams, providing create/remove/list operations used by the ingest and distribution layers. |
|
test
|
|
|
tools/gen-streams
command
|
|
|
tools/inject-captions
command
|
|
|
tools/inject-scte35
command
|
|
|
tools/inject-timecode
command
|
|
|
tools/srt-push
command
|
|
|
tools/tsutil
Package tsutil provides shared MPEG-TS infrastructure used by the inject-* tools and related test utilities.
|
Package tsutil provides shared MPEG-TS infrastructure used by the inject-* tools and related test utilities. |
|
Package webtransport provides a WebTransport server built on top of quic-go's HTTP/3 implementation.
|
Package webtransport provides a WebTransport server built on top of quic-go's HTTP/3 implementation. |
Click to show internal directories.
Click to hide internal directories.