Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
docs
Package docs Code generated by swaggo/swag.
|
Package docs Code generated by swaggo/swag. |
|
cmd
|
|
|
server
command
General OpenAPI metadata for swag code generation.
|
General OpenAPI metadata for swag code generation. |
|
Package config holds the root configuration struct and Viper-based loading.
|
Package config holds the root configuration struct and Viper-based loading. |
|
internal
|
|
|
api
Package api implements the HTTP API server.
|
Package api implements the HTTP API server. |
|
api/apidocs
Package apidocs holds OpenAPI response/request shapes referenced from swag comments.
|
Package apidocs holds OpenAPI response/request shapes referenced from swag comments. |
|
api/handler
Package handler contains HTTP request handlers for the API server.
|
Package handler contains HTTP request handlers for the API server. |
|
buffer
Package buffer implements the Buffer Hub — the central in-memory ring buffer.
|
Package buffer implements the Buffer Hub — the central in-memory ring buffer. |
|
coordinator
Package coordinator wires buffer, stream manager, transcoder, and publisher for a single stream lifecycle.
|
Package coordinator wires buffer, stream manager, transcoder, and publisher for a single stream lifecycle. |
|
domain
Package domain defines core types shared across Open Streamer modules.
|
Package domain defines core types shared across Open Streamer modules. |
|
dvr
Package dvr implements the DVR (Digital Video Recorder).
|
Package dvr implements the DVR (Digital Video Recorder). |
|
events
Package events implements the in-process Event Bus.
|
Package events implements the in-process Event Bus. |
|
hooks
Package hooks implements the Hook dispatcher.
|
Package hooks implements the Hook dispatcher. |
|
hwdetect
Package hwdetect probes the host OS for available hardware acceleration backends.
|
Package hwdetect probes the host OS for available hardware acceleration backends. |
|
ingestor
Package ingestor handles raw stream ingestion.
|
Package ingestor handles raw stream ingestion. |
|
manager
Package manager implements the Stream Manager — the failover engine.
|
Package manager implements the Stream Manager — the failover engine. |
|
mediaserve
Package mediaserve serves HLS/DASH files from disk under /{code}/… — same URL layout as the API server.
|
Package mediaserve serves HLS/DASH files from disk under /{code}/… — same URL layout as the API server. |
|
metrics
Package metrics registers all Prometheus collectors for Open Streamer.
|
Package metrics registers all Prometheus collectors for Open Streamer. |
|
publisher
Package publisher delivers transcoded streams to all outputs.
|
Package publisher delivers transcoded streams to all outputs. |
|
runtime
Package runtime manages the lifecycle of all long-running services based on the persisted GlobalConfig.
|
Package runtime manages the lifecycle of all long-running services based on the persisted GlobalConfig. |
|
sessions
Package sessions tracks live playback sessions across every protocol Open-Streamer serves (HLS, DASH, RTMP, SRT, RTSP) so operators can answer "who is watching <stream> right now?".
|
Package sessions tracks live playback sessions across every protocol Open-Streamer serves (HLS, DASH, RTMP, SRT, RTSP) so operators can answer "who is watching <stream> right now?". |
|
store
Package store defines the persistence layer interfaces.
|
Package store defines the persistence layer interfaces. |
|
store/json
Package json provides a single-file JSON implementation of the store repositories.
|
Package json provides a single-file JSON implementation of the store repositories. |
|
store/storetest
Package storetest provides shared test fixtures for all store implementations.
|
Package storetest provides shared test fixtures for all store implementations. |
|
store/yaml
Package yaml provides a single-file YAML implementation of the store repositories.
|
Package yaml provides a single-file YAML implementation of the store repositories. |
|
transcoder
Package transcoder manages a bounded pool of FFmpeg worker processes.
|
Package transcoder manages a bounded pool of FFmpeg worker processes. |
|
vod
Package vod implements the VOD mount registry.
|
Package vod implements the VOD mount registry. |
|
watermarks
Package watermarks manages the on-disk library of uploadable watermark images (logos, channel bugs).
|
Package watermarks manages the on-disk library of uploadable watermark images (logos, channel bugs). |
|
pkg
|
|
|
ffmpeg
Package ffmpeg provides a safe FFmpeg subprocess wrapper.
|
Package ffmpeg provides a safe FFmpeg subprocess wrapper. |
|
logger
Package logger initialises the application-wide slog.Logger.
|
Package logger initialises the application-wide slog.Logger. |
|
protocol
Package protocol provides URL-based protocol detection and media stream utilities.
|
Package protocol provides URL-based protocol detection and media stream utilities. |
|
version
Package version exposes build-time injected version metadata.
|
Package version exposes build-time injected version metadata. |
Click to show internal directories.
Click to hide internal directories.