Skip to content

Cameras Overview

RUSEON Core provides a high-performance, concurrent pipeline for ingesting, processing, and distributing video streams from RTSP cameras.

Camera Lifecycle Pipeline

The core architecture follows a robust pipeline:

  1. Configured: The camera exists in the internal BadgerDB database.
  2. Connecting: RUSEON Core attempts to establish a connection to the RTSP URL via TCP or UDP.
  3. Streaming: Connection established. The engine receives A/V packets.
  4. Ring Buffer: Packets are written into a high-performance, lock-free Ring Buffer in memory.
  5. Consumers: The HLS muxer, WebRTC engine, and disk Recorder consume frames directly from the Ring Buffer, ensuring Zero-allocation where possible and extremely low latency.

Lazy HLS

Cameras can be configured with lazy_hls. When enabled, the HLS muxer will automatically shut down if there are no active clients requesting the stream for 1 minute, saving CPU and memory resources. It starts up instantly when a new client connects.

Released under the MIT License.