Glossary
Transport & resilience:
- FEC: Forward Error Correction — parity frames added so receivers can repair limited loss without retransmits (k:n grouping;
patinas_fec_*metrics). - ARQ: Automatic Repeat reQuest — selective retransmission of FEC-unrecovered slots over a server→client control path (
patinas_arq_*metrics). - Jitter buffer: playout smoothing buffer sized by policy; converts bursty arrival into paced output.
- QUIC: UDP-based transport with TLS 1.3, streams and datagrams; in Patinas, the
quinn-netadapter with mTLS. - RTP / RTCP: Real-time Transport / Control Protocol — media framing and sender/receiver reports, SDES, BYE.
- Repair rate:
(fec_repairs + arq_repairs) / (fec_repairs + fec_unrecovered)— the pilot acceptance gate metric. - k:n FEC: block code grouping k data frames with n parity frames; any up-to-n losses in the block are reconstructible (Reed-Solomon,
RsFec). - Fast tier: an additional small-block RS layer (e.g. RS(4,1)) that repairs single losses in one small block instead of waiting for the main block or an ARQ round-trip.
- Late parity: parity frames inserted on keyframe boundaries (
--engine-late-parity) so keyframe-aligned blocks survive targeted loss. - Block placement: the hub-side registry that attaches data/parity slots to their FEC block by pts; mismatches surface as
patinas_fec_block_unmatched_total/patinas_fec_unplaceable_parity_total. - parity_close_ms: block-finalize safety-net deadline — a block closes for repair when full or when this timer fires.
- Playout deadline (
playout_deadline_ms): frames older than this at playout are handled per the late-frame policy. - Late-frame policy:
deliver(continuity first) |drop(p95 first) |adaptive(drop while healthy, deliver while ARQ is repairing). - Retransmit duplicates (
retransmit_duplicates): copies of each served ARQ retransmit (1..=3); 2 copies cut first-round retransmit loss from ~25% to ~6% on a 25%-loss link. - ARQ control path: the receiver→sender channel for retransmit requests (inproc, or a QUIC control uni-stream). Absent on the UDP mock — the structural reason the legacy UDP harness could not represent the pilot.
Roles & topology:
- Proxy (
patinas-proxy): edge node — RTSP ingest, resilience layer, transport uplink. - Hub (
patinas-hub): DC/cloud node — transport ingress, resilience, fanout, optional local RTSP serving. - Relay (
patinas-role-relay): recording/forwarding node between cameras and hub; owns recording volume selection (USB-C → NVMe failover) and the passivations integration. - Engine (
patinas-role-engine): shared resilience/playout engine role. - VMS bridge (
patinas-vms-bridge): corporate-end RTSP egress server for VMS ingest (default0.0.0.0:8555); ONVIF-profile-aware for codec decisions. Camera-side ONVIF discovery lives inpatinas-adapters-rtsp. - ESP: Edge Stream Processor — the mine-site deployment unit (cameras + relay + hub).
- CometMX-180: the pilot camera range (variants A–D) validated by the interop matrix.
Recording & replay:
- muxed-bytes mode: recording the muxed MKV byte stream; the mode passivations records. The relay's other modes are encoded-frames and rtp-packet (raw frames or RTP packets, for replay).
- Cluster-aligned cut: passivations' rotation discipline — segments are cut only at MKV cluster boundaries, so every segment is independently decodable.
- passivations: the proprietary recording engine (MKV segments, cluster-aligned cuts, manifest evidence).
- patinas-replay: replays recorded MKV segments into RTP/UDP or back into Patinas streams.
Transport & testing:
- quinn-net: the production QUIC feature (datagram + uni-stream, TLS 1.3, mTLS, NAT-rebinding reconnect, SIGHUP PEM reload).
- PMTUD: Path MTU discovery — probing for the largest datagram the path accepts; guarded by
dgram_maxand the 1200-byte floor. - qlog: QUIC connection trace format; Patinas captures
.qlogfiles per connection behindfeature = "quic-qlog". - link-sim (
patinas-net-sim): HTTP-controlled router that applies tc/netem/tbf impairments to the test topology. - chaos plan/execute (
patinas-chaos): plan mode prints the tc/netem steps; execute mode applies them on Linux with guardrails and computes acceptance KPIs. - CometMX-180 (A–D): the pilot camera range; variants A–D are the interop matrix entries validated at 15% loss.
- Seat / activation: per-device licensing — an edge self-registers by serial and streams only with a valid licence seat.
Architecture & dev:
- Port: trait defining a boundary the domain depends on (
patinas-ports). - Adapter: implementation of a port for a specific technology (QUIC, Prometheus, RTP, RTSP).
- StreamId: identifier for a logical media stream.
- Activation / seat: per-device licensing — an edge self-registers by serial and streams only with a valid licence seat.
- Blessed topology: the one supported beta deployment (see
docs/architecture/BLESSED_TOPOLOGY.md).