Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
loadtest
command
Package main implements a full-stack, end-to-end load test for RUSEON Core.
|
Package main implements a full-stack, end-to-end load test for RUSEON Core. |
|
ruseon-cli
command
Package main implements the ruseon-cli command-line management client for RUSEON Core.
|
Package main implements the ruseon-cli command-line management client for RUSEON Core. |
|
server
command
Package main implements the entrypoint for the RUSEON Core media server daemon.
|
Package main implements the entrypoint for the RUSEON Core media server daemon. |
|
internal
|
|
|
api
Package api implements the RESTful HTTP API, Gin router configuration, WebSocket WebCodecs streaming, WHEP WebRTC negotiation, HLS segment endpoints, and Prometheus metrics handlers.
|
Package api implements the RESTful HTTP API, Gin router configuration, WebSocket WebCodecs streaming, WHEP WebRTC negotiation, HLS segment endpoints, and Prometheus metrics handlers. |
|
api/docs
Package docs Code generated by swaggo/swag.
|
Package docs Code generated by swaggo/swag. |
|
archive
Package archive provides indexing, on-demand MPEG-TS transcoding for HLS VOD archive playback, LRU index caching, and zero-re-encoding fMP4 clip exporting.
|
Package archive provides indexing, on-demand MPEG-TS transcoding for HLS VOD archive playback, LRU index caching, and zero-re-encoding fMP4 clip exporting. |
|
buffer
Package buffer implements high-performance circular memory ring buffers and frame distribution pipelines for video frames and codec parameter sets.
|
Package buffer implements high-performance circular memory ring buffers and frame distribution pipelines for video frames and codec parameter sets. |
|
grpc
Package grpc implements high-performance gRPC streaming services for raw H.264/H.265 video frame extraction (for external AI inference microservices) and bidirectional metadata ingestion.
|
Package grpc implements high-performance gRPC streaming services for raw H.264/H.265 video frame extraction (for external AI inference microservices) and bidirectional metadata ingestion. |
|
hls
Package hls provides real-time HTTP Live Streaming (HLS RFC 8216) packaging from RingBuffer video frames, sliding window M3U8 playlist generation, zero-copy ARC memory segment recycling, and WebVTT metadata streaming.
|
Package hls provides real-time HTTP Live Streaming (HLS RFC 8216) packaging from RingBuffer video frames, sliding window M3U8 playlist generation, zero-copy ARC memory segment recycling, and WebVTT metadata streaming. |
|
models
Package models defines core domain data models, state enumerations, and telemetry structures shared across RUSEON Core subsystems.
|
Package models defines core domain data models, state enumerations, and telemetry structures shared across RUSEON Core subsystems. |
|
mqtt
Package mqtt provides non-blocking asynchronous publication of AI metadata and event detections to external MQTT message brokers.
|
Package mqtt provides non-blocking asynchronous publication of AI metadata and event detections to external MQTT message brokers. |
|
recorder
Package recorder provides continuous fragmented MP4 (fMP4 / ISO BMFF) archive recording, power-loss crash recovery, page cache dropping on Linux, and automated retention cleanup.
|
Package recorder provides continuous fragmented MP4 (fMP4 / ISO BMFF) archive recording, power-loss crash recovery, page cache dropping on Linux, and automated retention cleanup. |
|
rtsp
Package rtsp provides an RTSP/RTP media client wrapper around gortsplib with support for H.264/H.265 video demuxing, automatic dial rate limiting, and 64-bit RTP timestamp unwrapping.
|
Package rtsp provides an RTSP/RTP media client wrapper around gortsplib with support for H.264/H.265 video demuxing, automatic dial rate limiting, and 64-bit RTP timestamp unwrapping. |
|
stream
Package stream implements high-level camera stream lifecycle management, reconnection backoff loops, bandwidth telemetry calculations, lazy HLS activation, and metadata multiplexing.
|
Package stream implements high-level camera stream lifecycle management, reconnection backoff loops, bandwidth telemetry calculations, lazy HLS activation, and metadata multiplexing. |
|
webrtc
Package webrtc provides high-throughput WebRTC WHEP (WebRTC-HTTP Egress Protocol) streaming, pre-warmed DTLS certificate handling, UDP port multiplexing, and zero-allocation sendmmsg batching.
|
Package webrtc provides high-throughput WebRTC WHEP (WebRTC-HTTP Egress Protocol) streaming, pre-warmed DTLS certificate handling, UDP port multiplexing, and zero-allocation sendmmsg batching. |
|
pkg
|
|
|
auth
Package auth provides authentication, token issuance, and role-based access control (RBAC) middleware for RUSEON Core.
|
Package auth provides authentication, token issuance, and role-based access control (RBAC) middleware for RUSEON Core. |
|
config
Package config provides data structures, validation, and serialization mechanisms for loading and persisting RUSEON Core application settings in YAML format.
|
Package config provides data structures, validation, and serialization mechanisms for loading and persisting RUSEON Core application settings in YAML format. |
|
engine
Package engine orchestrates the lifecycle, subsystem initialization, background workers, network servers, and graceful shutdown of RUSEON Core.
|
Package engine orchestrates the lifecycle, subsystem initialization, background workers, network servers, and graceful shutdown of RUSEON Core. |
|
eventbus
Package eventbus provides an asynchronous, non-blocking event distribution pipeline for internal server events and outbound HTTP webhooks.
|
Package eventbus provides an asynchronous, non-blocking event distribution pipeline for internal server events and outbound HTTP webhooks. |
|
logger
Package logger configures high-performance structured logging using zerolog, integrates real-time Server-Sent Events (SSE) log streaming, and intercepts standard library logging outputs.
|
Package logger configures high-performance structured logging using zerolog, integrates real-time Server-Sent Events (SSE) log streaming, and intercepts standard library logging outputs. |
|
metrics
Package metrics defines and exports Prometheus operational and telemetry metrics for streaming, ingest, archiving, viewer connections, and internal pipeline health.
|
Package metrics defines and exports Prometheus operational and telemetry metrics for streaming, ingest, archiving, viewer connections, and internal pipeline health. |
|
registry
Package registry defines core service abstraction interfaces (StateStore, Authenticator, BlobStore, EventBus) and provides a centralized dependency injection mechanism.
|
Package registry defines core service abstraction interfaces (StateStore, Authenticator, BlobStore, EventBus) and provides a centralized dependency injection mechanism. |
|
storage
Package storage provides embedded key-value persistence and transactional metadata management for RUSEON Core using BadgerDB.
|
Package storage provides embedded key-value persistence and transactional metadata management for RUSEON Core using BadgerDB. |
|
storage/localfs
Package localfs provides an OS filesystem implementation of registry.BlobStore with directory traversal sanitization, restricted file permissions, and Linux page cache purging optimizations.
|
Package localfs provides an OS filesystem implementation of registry.BlobStore with directory traversal sanitization, restricted file permissions, and Linux page cache purging optimizations. |
Click to show internal directories.
Click to hide internal directories.