Skip to main content

Crate dvb_conformance

Crate dvb_conformance 

Source
Expand description

ETSI TR 101 290 v1.4.1 transport-stream conformance monitor.

Implements the first-priority (Table 5.0a, indicators 1.1–1.6), second-priority (Table 5.0b, indicators 2.1–2.3b, 2.5–2.6), and SI-repetition (Table 5.0c, indicator 3.2 — maximum interval) indicator sets. Indicator 2.4 (PCR_accuracy_error) is intentionally excluded — it requires hardware arrival timestamps not available under the caller-supplied- time model. Indicator 3.2’s minimum-gap (25 ms) dimension is deferred — it needs per-(table_id, section_number) tracking to avoid false positives on dense multi-section tables.

§Caller-supplied time

ConformanceMonitor::feed takes a core::time::Duration timestamp alongside each TS packet. All presence/absence timeout checks (1.3.a, 1.5.a, 1.6, 2.3a, 2.3b, 2.5, 3.2) are evaluated against this clock. The caller must ensure that timestamps are monotonic non-decreasing across calls; the monitor does not enforce this but non-monotonic timestamps will produce spurious events.

§References

  • ETSI TR 101 290 v1.4.1 (2023-05), §5.2.1, Table 5.0a
  • ETSI TR 101 290 v1.4.1 (2023-05), §5.2.2, Table 5.0b
  • ETSI TR 101 290 v1.4.1 (2023-05), §5.2.3, Table 5.0c
  • ISO/IEC 13818-1 (MPEG-2 Systems)

Structs§

Config
Configurable hysteresis and timeout parameters.
ConformanceEvent
One raised conformance error.
ConformanceMonitor
ETSI TR 101 290 transport-stream conformance monitor.
Stats
Diagnostic counters.

Enums§

Indicator
A TR 101 290 measurement indicator.
Priority
Severity tier per TR 101 290 §5.2 (Tables 5.0a/5.0b/5.0c).