Summary

  • RFC 3550, July 2003, defines "the real-time transport protocol (RTP)", whose services "include payload type identification, sequence numbering, timestamping and delivery monitoring".
  • It is blunt about the limits: "RTP itself does not provide any mechanism to ensure timely delivery or provide other quality-of-service guarantees, but relies on lower-layer services to do so", and it "does not guarantee delivery or prevent out-of-order delivery".
  • What it does hand over is enough to rebuild the stream: sequence numbers let a receiver "reconstruct the sender's packet sequence" and place a packet "for example in video decoding, without necessarily decoding packets in sequence".

The network was never going to be on time

Every phone call, conference and livestream on the internet runs on a protocol that opens by admitting it cannot keep a schedule. Audio and video are worthless late, and no internet transport promises they will not be. RTP does not pretend otherwise. It splits the problem in two: getting the data, and knowing when the data belongs.

The first is the network's job. The second is RTP's actual product, and it is a metadata problem.

Three numbers, no promises

A payload type says how to read the bytes. A sequence number says where the packet sits in the stream. A timestamp says when the sample belongs on the timeline.

None of the three makes a packet arrive sooner. Together they let a receiver drop late packets on purpose, reorder the rest, and paper over losses without pretending they did not happen. That is the whole trick: the protocol cannot deliver time, so it delivers the arithmetic that reconstructs it.

The complaint channel is the product

The control half of the specification carries reports back: what arrived, what was lost, how much jitter piled up. Senders read them and adapt — a lower rate, a different codec, a smaller frame. That loop is how a system with no guarantees still finds an operating point.

It is also the part everyone forgets. A receiver that can only complain to itself cannot help the sender choose a lower rate.

Write the assumption down

The document states that the underlying network is neither reliable nor ordered, and that RTP assumes neither. Saying it out loud is what lets the protocol run over UDP, over other transports, and over networks nobody designed it for.

The bill comes due at the receiver, in the jitter buffer, and the buffer is where latency lives. Timing information is only useful if you are willing to wait for it.

What it refuses to solve

It does not say how big the buffer should be, how to prioritise audio over video, or what to do when the network changes mid-call. Those are application decisions, and different applications make them differently.

That restraint is why the same protocol carries phone calls, conferences and streaming, and why none of them sound alike.

The lesson: ship the numbers, not the promise

If you cannot guarantee time, ship enough information to reconstruct it. That is cheaper than a guarantee, and it survives networks that never agreed to one.

The general form: when the network will not promise what your application needs, give the receiver the numbers to rebuild it and a channel to complain about how it went. Specify the minimum that must be common. Leave the rest to the endpoints that bear the consequence. RTP is a thin common layer with a return path — which is why it is still carrying the call.