Add native and process stream sources

This commit is contained in:
Meta Vens 2026-05-21 18:27:39 +01:00
commit a22fa0745c
14 changed files with 413 additions and 3 deletions

View file

@ -68,6 +68,9 @@ and D3D12 bridge, while `src/Mimir.Runtime` provides the Aquarium client runtime
`Mimir.Runtime` owns the first synchronization hub: one five-second default
rolling buffer per configured audio/video stream, source polling through
`IMimirStreamSource`, and runtime UI readouts for stream/buffer health.
Local six-camera ingest should push native handles through
`MimirNativeIngestStreamSource`; process-backed ingest remains a compatibility
edge for network SRT or diagnostics.
```mermaid
flowchart TD

View file

@ -49,7 +49,9 @@ Get-Content .\state\evidence.jsonl -Tail 8
buffer per audio/video stream, defaulting to five seconds. Stream ids can be
declared with `MIMIR_LOCAL_VIDEO_STREAMS`, `MIMIR_LOCAL_AUDIO_STREAMS`,
`MIMIR_NETWORK_VIDEO_STREAMS`, and `MIMIR_NETWORK_AUDIO_STREAMS`; real capture
adapters feed buffers through `IMimirStreamSource`.
adapters feed buffers through `IMimirStreamSource`. Local six-camera ingest
should use native push adapters such as `MimirNativeIngestStreamSource`, not
FFmpeg stdout/process capture except as a network or diagnostic edge.
- The reservoir is now one native time-ordered rolling buffer with typed
indexes/views. The previous typed-ring crate is gone.
- Native reservoir samples carry provenance flags; diagnostic/fallback samples