Skip to content

Recording Configuration

RUSEON Core supports continuous recording to disk. The retention policies can be configured globally or overridden on a per-camera basis.

Global Retention

The global retention policy is defined in the server section:

yaml
server:
  record_retention_days: 30

Any camera with recording enabled will by default retain footage for this many days. Older segments are automatically pruned by background jobs.

Per-Camera Override

When defining or updating a camera, you can specify retention_days to override the global setting:

yaml
cameras:
  - id: "special-cam"
    url: "rtsp://10.0.0.5/stream"
    record: true
    retention_days: 90 # Overrides the global 30 days

If retention_days is set to 0, the camera falls back to the global server.record_retention_days value.

Released under the MIT License.