The packet that knew where it stood

Somewhere on a lossy network in the mid-1990s, a video packet went missing. The bytes that followed had a choice: arrive as gibberish, or arrive knowing exactly where they belonged. RFC 2029, published in October 1996, chose the second. It did not bring the lost picture back. It did something subtler and, for a working network, more valuable: it made the next surviving packet legible.

The document, written by M. Speer and D. Hoffman, specified how to carry Sun Microsystems' CellB video codec inside the Real-time Transport Protocol. CellB was a cell-based scheme: it chopped a frame into 4×4-pixel blocks and compressed each one. RTP was the new envelope for real-time media. The marriage had one obvious problem—packets get lost—and RFC 2029 answered it with eight repeated bytes.

Two absences, one of them invisible

Packet loss creates two different kinds of absence. The first is content: bytes that were sent and never arrived. The second is context: the receiver's ability to make sense of what did arrive. If a decoder does not know where the next bytes belong, or whether they begin in the middle of an instruction, a single missing packet can render the following data unintelligible too.

RFC 2029 attacked the second absence. It could not conjure the missing cells. It could make sure the next intact packet did not arrive as the orphaned second half of a sentence whose beginning had vanished.

Eight bytes of self-location

At the head of every CellB RTP payload, RFC 2029 placed four 16-bit unsigned integers in network byte order. The first pair recorded the X and Y location of the packet's first cell. The second pair recorded the image's width and height.

The units are the tell. X and Y were cell coordinates, not pixel coordinates—each CellB cell covered a 4×4 block. Width and height, by contrast, were measured in pixels. A packet could therefore announce, in effect: begin interpreting my compressed data at this block, on a canvas of this size.

Repeating the image dimensions in every packet looks wasteful when nothing goes wrong. Under loss it removes a dependency: a later packet need not recover the dimensions from an earlier packet that may itself be missing. The header is a spatial claim, not a spatial proof. It does not map every cell that should have preceded it, does not swear its coordinates are truthful, and does not promise the payload will reach the bottom-right corner. It hands the decoder an address to continue from. It does not issue a receipt for the rest of the canvas.

The next packet did not start mid-instruction

CellB's stream mixed code lengths. An ordinary cell code ran four bytes and described one 4×4 block. A one-byte skip code told the decoder to jump between one and 32 cells. Two other one-byte instructions could announce a fresh luminance or chrominance quantisation table, each followed by 512 bytes of table data.

RFC 2029 let an implementer choose any packet size up to a full frame, but imposed one decisive rule: every multi-byte code had to sit wholly inside a single packet. A packet boundary could not slice through a four-byte cell code or strand half a table update in the next packet.

Header and containment solved different halves of the same problem. The header anchored the first cell in space; containment anchored the payload in syntax. If one packet vanished, the next intact packet did not arrive as the unknown second half of an instruction whose beginning was gone. That is local resynchronisation, not lost-data recovery. Nothing in the payload format adds retransmission, forward-error correction, redundant cells or a reconstruction recipe. The missing packet stays missing. The design's value is that the loss need not automatically poison the parsing of everything after it.

A frame label is not a frame inventory

RFC 2029 ran the RTP clock at 90 kHz. Every packet carrying one frame shared the same RTP timestamp, and the RTP Marker bit flagged the frame's last packet. Those fields drew a temporal boundary around the spatially addressed packets.

But a shared timestamp says packets are assigned to the same frame; it does not enumerate the frame's members. A Marker says the sender declared one packet last; it does not certify that every packet before it arrived. RTP sequence numbers can expose a gap in the transmitted sequence and help restore order, but RTP itself explicitly promises no delivery, no timeliness, no ordering and no quality of service.

The distinction is operational, not pedantic. A receiver can hold a packet with a plausible coordinate, the right frame timestamp and the Marker set—and still be missing a packet from the middle of that frame. The surviving metadata says where and when the packet claims to belong. It does not turn the claim into proof of completeness.

The quantisation tables hide the deepest state

CellB cell codes did not carry literal colour for every pixel. Their Y/Y and U/V fields indexed luminance and chrominance vector tables. The meaning of a later index therefore depended on which tables the receiver currently held.

RFC 2029 described instructions for swapping either table with 512 fresh bytes. It noted that its sample encoder and decoder did not implement the feature, while future CellB codecs might. Because the update is a multi-byte code, the containment rule keeps a table from being split across packets—protecting the update's syntax when its packet arrives intact.

It does not protect the update from the loss of the whole packet. If a packet carrying a new table disappears, a later packet can still arrive on a clean code boundary, advertise a precise coordinate and carry the correct timestamp. The receiver may nonetheless read its indices through an older table. The pixel positions are known; the pixel values are wrong. That is the quiet failure mode the format permits and never quite closes.

Four layers of evidence, kept apart

RFC 2029 becomes clearer when its signals are read as a short hierarchy. First, the RTP sequence number can indicate transport order and missing packets. Second, the CellB header declares spatial placement and image size. Third, code containment lets an intact packet begin at a syntactically valid boundary. Fourth, the timestamp and Marker declare frame membership and its last packet.

Content integrity lies beyond all four. So do successful decoding, coherent rendering and human viewing. To support those claims an observer needs more: captured payloads, validated coordinate and coverage rules, the applicable table state, decoder results, render output, playout timing and—if the claim is about experience—measurement at the viewer.

The IANA registry still lists CelB as fixed RTP payload type 25 with a 90 kHz clock and a reference to RFC 2029. That is durable evidence of an assigned parameter. It is not evidence that CelB is widely implemented or carried on today's networks. RFC 2029 remains a Proposed Standard, but status, registration, deployment and performance are four different facts.

The honest limit

The historical achievement was narrower, and more useful, than a promise of resilience without limits. RFC 2029 gave each surviving packet enough local context to re-enter a compressed picture at a declared coordinate and a valid code boundary. It contained the blast radius of missing bytes. It also made the boundary of the evidence visible—and that, in a medium built on lossy links, is a kind of honesty most protocols never bother to offer.

Knowing where the next block belongs is not the same as knowing the picture survived. Eight bytes could tell a packet where it stood. They could not tell anyone that the frame was whole.

Sources