Summary

  • RFC 9626 exports a compact description of video frames outside the encrypted payload, so an RTP switch can spot boundaries, independent frames, discardable frames and scalable layers without decoding a single pixel.
  • SRTP can authenticate and encrypt those markings. Authentication proves which peer supplied the bits. It does not prove the bits match the encrypted payload, the receiver's dependency state, or the frame that reached the screen.
  • A defensible operating record joins negotiation, visibility policy, sender-side extraction, markings, switch decisions, delivery, decoder state and rendered outcome.

The switch dropped exactly the packets it had been told were safe to lose. Bandwidth fell. The call stayed connected. Then one participant's video froze, and stayed frozen until the next independent frame arrived.

Read that sequence twice. It fits a congested link, a decoder that lost its reference buffer, and a sender that mislabelled a frame — accidentally or otherwise. A dashboard that records only congestion and forwarding counters cannot tell the three apart, and by the time anyone asks, the call is over and the evidence is gone.

RFC 9626 exists because of a real constraint in modern conferencing. A centralized RTP switch may need to pick an active speaker, stop forwarding one stream, start another, or shed enhancement layers under congestion. End-to-end encryption can stop that switch from reading the video payload at all. So the RFC places a small, codec-neutral description in an RTP header extension.

It is a narrow disclosure in service of a narrow authority. The switch gets to act on frame structure without ever getting the picture. What it does not get is a promotion to encoder, decoder, or independent auditor of the sender's claim.

What RFC 9626 actually puts on the wire

Five bits describe four different kinds of knowledge

The short form carries four signals. S marks the first packet of a frame; E marks the last. I says the frame is independent of temporally prior frames. D says the sender knows the frame can be discarded while leaving a decodable stream.

The long form adds B, a base-layer synchronization point, plus TID, LID and TL0PICIDX. TID identifies the temporal layer. LID identifies a spatial or quality layer. TL0PICIDX labels a base-layer picture, or states which such picture an enhancement layer depends upon.

These fields are compact because they omit more than they include. An I mark concerns temporal independence; a spatial enhancement layer can still depend on a co-timed lower layer. A higher TID or LID is a relative place in a hierarchy, not an absolute frame rate, resolution or bitrate. Without extra structure information, the identifiers do not enumerate every dependency.

Even the apparently simple B signal crosses an evidentiary boundary. RFC 9626 says it cannot always be derived reliably from simple H.264 or H.265 payload-header inspection. An implementation may need an internal codec interface. The exported bit can therefore depend on state the switch will never see — and that a conformance test must deliberately capture.

The obligation lives at the sender

The RFC is blunt about where the duty sits: header-extension values must represent what is already in the RTP payload. For VP9 and VP8, several fields can be checked against payload descriptors. H.264 and H.265 have their own mappings and exceptions. Future codecs are expected to specify their mappings too.

That is an interoperability rule. It is not a self-verifying construction.

Once private media is encrypted, a switch cannot generally reopen the payload to prove that I really describes an independent frame, or that D really describes a disposable one. It consumes an assertion produced before or alongside encryption. If the sender maps a codec signal incorrectly, runs on stale internal state, or ships a defect, the authenticated extension will faithfully carry the wrong description — with all the confidence of a correct one.

This distinction is easy to lose because SRTP authentication is genuinely strong evidence. It can show that an accepted peer supplied the extension and that the protected packet was not altered unnoticed. It cannot promote a sender's assertion into an independent observation of codec truth. Authentic and accurate are different properties, and only one of them is cryptographic.

The right test point is therefore close to the encoder. Before encryption removes the switch's ability to inspect anything, compare payload descriptors or internal codec events against every emitted marking. Include the negative cases: a non-independent frame marked I, a referenced frame marked D, incomplete spatial layers at a proposed switching point, discontinuous indices, and boundaries that disagree with timestamps or marker semantics.

Forwarding is a decision, not an outcome

RFC 9626 recommends dropping frames marked D, or frames in the highest temporal and spatial/quality layers, when congestion demands shedding work. It recommends starting a newly forwarded stream at a point where I is set across all spatial layers.

Those rules are sensible only inside their evidence boundary. A D bit says what the sender believes about decodability. It does not contain the receiver's actual reference buffer, packet-loss history or implementation defects. An I bit across layers hands the switch an eligible entry point. It does not prove that every packet in those layers arrived before the playout deadline.

The same caution applies to refresh. RFC 9627 lets a receiver request a layer refresh, using layer identifiers aligned with RFC 9626. A Full Intra Request can ask for a new switching point. But a request is an instruction in a control loop. It is not evidence that the encoder acted, that the refresh traversed the network, or that the decoder used it.

For leadership, that distinction defines the minimum useful receipt. Preserve what the switch saw, why it chose to forward or drop, and what happened next at the receiver. "The SFU followed the marking" closes the decision question. It leaves the delivery and viewing questions wide open.

Encryption has two audiences

The extension forces a deliberate privacy choice. Under SRTP, header extensions are authenticated and may be encrypted. An RTP switch that is an SRTP peer can use an encrypted marking while remaining unable to read end-to-end encrypted private media. Other middleboxes on the path cannot read that extension at all.

An endpoint can instead leave the marking unencrypted so additional middleboxes can optimize dropping. The cost is reliable exposure of frame and layer timing. Keyframes can often be guessed statistically from encrypted packet sizes, because they tend to be larger. RFC 9626 nevertheless draws the right line: an explicit unencrypted mark converts an inference into a dependable signal.

Dependability is exactly what changes the privacy surface. A record of independent-frame intervals, layer changes and frame boundaries can reveal media activity patterns even when it never exposes a single pixel. The decision is not "encrypted video or clear video." It is which operational metadata is visible, to which party, for which optimization.

RFC 9335 supplies the mechanism for completely encrypting RTP header extensions and contributing sources. RFC 8871 supplies the private-media conferencing context. Neither makes the policy choice for you. Offer/answer direction, SRTP-peer topology, extension encryption and retention still need an accountable owner with a name.

One URI creates a versioned dependency

The SDP URI urn:ietf:params:rtp-hdrext:framemarking negotiates the extension through the machinery of RFC 8285. A local identifier then appears on packets. That mapping can change across sessions, and extension direction can change through updates.

An operator therefore needs the negotiation record, not just packet captures. The same numeric extension identifier can carry no portable meaning outside the session that assigned it. A switch acting on an unnegotiated, inactive or differently mapped extension is not following RFC 9626 merely because the packet contains familiar bits.

Codec evolution adds a second dependency. RFC 9628 maps VP9's scalable structure into the same vocabulary, and future payload formats must state how their layer identifiers map. An implementation update can change both the media encoder and the code that extracts markings. Treat that pair as one versioned release surface, and test the correspondence again every time either half moves.

A small disclosure still allocates power

Lu Heng's Minimum Initial Specification explains why RFC 9626 is appropriately small. Interoperability needs a common description of the frame facts a switch can act upon. It does not need a universal congestion policy, decoder design, privacy preference or quality threshold. Those choices stay local.

The second-order effect is testing discipline: codec and SFU releases become joined changes, because an altered payload-to-mark mapping can change forwarding without changing the wire format. The third-order effect is privacy governance: reliable metadata can improve delivery and sharpen behavioural observation at the same time, and nobody has to choose between them until someone writes the policy down.

The irreversible risk is evidentiary loss. After an encrypted call ends, a switch may retain only the mark and its own decision. If the sender-side mapping and the receiver-side outcome were never preserved, no one can later determine whether the frozen picture came from false metadata, packet loss, decoder state or a missed deadline. A frame mark is useful precisely because it is small. Its authority has to stay equally small — and somebody has to own the gap between the two.

Sources