In this article
Keep negotiated clock units, timestamp conversion and fixture-duration comparison.
A receiver divides RTP timestamp differences by nominal camera FPS. The resulting event times and model windows are wrong even though packet order and image decoding appear correct.
The media mechanism
RTP timestamp units follow the negotiated payload clock, whereas frame rate describes the production of images. A frame can also span several packets sharing media timing, so packet count is another independent quantity.
Establish the pipeline boundary
Obtain timestamp units from the negotiated payload mapping. Frame rate describes image cadence, while RTP clock rate defines media timestamp ticks; they should not be substituted for each other in a duration calculation.
Reassemble the relevant media unit before associating a model observation with protocol timing. Multiple packets can share one frame timestamp, and changes in packetization should not create extra camera observations.
Keep media time, packet sequence and arrival time in separate fields. A packet arriving late changes delivery evidence without necessarily changing the capture interval represented by its timestamp. Compare a known-duration fixture under two packetizations, and document wrap or session reset handling separately. Correct unit conversion establishes a media interval inside the stated clock model; it does not by itself place that interval on a synchronized global wall clock.
A constructed failure case
Use a known sequence duration with multiple packets per frame. The converted media interval should remain correct if packetization changes while the negotiated payload clock and source content remain the same.
A practical validation procedure
Capture the payload clock declaration and compare timestamp deltas with a known-duration fixture. Reconstruct complete frames before forming model windows. Preserve the distinction among packet sequence, media timestamp and local arrival time.
Keep an unchanged control and a deliberate failure case. Change the relevant setting or interruption independently, then compare observed frame identities and state transitions. Measure through recovery as well as the first error; a restarted worker can retain obsolete results or references.
Evidence for acceptance
Keep negotiated clock units, timestamp conversion and fixture-duration comparison.
Recovery and limits
Correct media durations do not establish an absolute wall-clock mapping without additional synchronization evidence.
Define whether recovery drains, discards or isolates pending frames before resuming ordinary service. Preserve compact diagnostic identities and the fixture configuration. Avoid treating a new connection or a live process as proof that previous in-flight work has finished safely.
References and interpretation
Primary references: RTP and RTCP protocol specification; GStreamer RTP jitter buffering.
This is a proposed operational validation, not an executed Retrivium benchmark. Documentation defines interfaces and supported behavior; the actual pipeline needs its own evidence. Repeat the check after relevant plugin, decoder, source or preprocessing changes.
Related reading
Continue with Video retrieval timestamps: use PTS rather than frame-number arithmetic; RTP timestamp wrap: preserve media continuity with bounded extended state. Their adjacent context does not replace the specific frame-flow acceptance check described here.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.