pyrtc.latency
Latency measurement helpers for pyrtc shared-memory streams.
The helpers in this module stay in the control plane. They attach to existing shared-memory streams, sample timestamp metadata, and summarize latency and jitter without changing the steady-state RTC hot path.
Functions
|
Build stream-to-stream transitions implied by component descriptors. |
|
Collect per-stream write events over one shared wall-clock window. |
|
Estimate latency after aligning source and target events by SHM count. |
|
Match target writes to the source write that carried the same frame id. |
|
Estimate latency samples and compensate for simple frame misalignment. |
|
Return a readable text summary for a latency report. |
|
Infer a sensible stream path for latency breakdowns. |
|
Measure latency across a stream path and return a structured report. |
|
Attach a read-only observer handle to an existing SHM stream. |
|
Render a log-scaled histogram that highlights high-percentile latency. |
|
Block until a frame published on the first stream reaches every later stream. |
Classes
|
|
|
|
|