<?xml version="1.0" encoding="utf-8"?>
<!-- name="GENERATOR" content="github.com/mmarkdown/mmark Mmark Markdown Processor - mmark.miek.nl" -->
<rfc version="3" ipr="trust200902" docName="draft-ramadan-moq-fec-multicast-01" submissionType="IETF" category="std" xml:lang="en" xmlns:xi="http://www.w3.org/2001/XInclude" indexInclude="true">

<front>
<title abbrev="MoQ FEC Multicast">Forward Error Correction for Multicast Delivery of Media over QUIC</title><seriesInfo value="draft-ramadan-moq-fec-multicast-01" stream="IETF" status="standard" name="Internet-Draft"></seriesInfo>
<author initials="O." surname="Ramadan" fullname="Omar Ramadan"><organization>Blockcast</organization><address><postal><street></street>
</postal><email>omar@blockcast.net</email>
</address></author><date year="2026" month="November" day="20"></date>
<area>wit</area>
<workgroup>moq</workgroup>
<keyword>FEC</keyword>
<keyword>MoQ</keyword>
<keyword>multicast</keyword>
<keyword>AMT</keyword>
<keyword>repair policy</keyword>

<abstract>
<t>This document specifies how the Forward Error Correction (FEC)
mechanism for Media over QUIC (MoQ) is used when protected tracks are
delivered over multicast.  It defines repair-only multicast endpoints
and how a receiver adds and drops the repair layers they carry, states
which tracks a multicast endpoint carries in this revision, specifies
how a receiver treats blocks and symbols that a multicast
content-authentication profile has not admitted, and specifies the
receiver repair policy of a multicast or AMT leg: in-band FEC first,
then per-block unicast repair for the blocks that FEC did not recover,
with a budget and priorities derived from the catalog.  It is
independent of how multicast is carried, whether by Source-Specific
Multicast and Automatic Multicast Tunneling or by a multicast QUIC
channel.</t>
</abstract>

<note removeInRFC="true"><name>Discussion Venues</name>
<t>Discussion of this document takes place on the Media Over QUIC (moq)
Working Group mailing list (moq@ietf.org), which is archived at
<eref target="https://mailarchive.ietf.org/arch/browse/moq/">https://mailarchive.ietf.org/arch/browse/moq/</eref>.</t>
<t>Source for this draft and an issue tracker can be found at
<eref target="https://github.com/Blockcast/moqcast-draft">https://github.com/Blockcast/moqcast-draft</eref>.</t>
</note>

</front>

<middle>

<section anchor="introduction"><name>Introduction</name>
<t>The FEC mechanism of <xref target="MOQ-FEC-CORE"></xref> lets a receiver recover lost
source symbols from repair symbols that the publisher sends ahead of
need, and lets each receiver choose how much repair it takes by
subscribing to repair tracks.  On a MoQ unicast path a receiver can
also fall back on QUIC retransmission.  On a multicast path it cannot:
IP multicast and Automatic Multicast Tunneling (AMT) deliver the same
packets to every receiver, no receiver can ask the network for a
retransmission, and a receiver without a return path cannot ask
anyone.  FEC is therefore the primary recovery mechanism on a
multicast leg, and this document specifies what is particular to it.</t>
<t>On a multicast endpoint the receiver does not choose tracks; the
operator of the endpoint does.  This document defines how the repair
layers of an FEC instance are placed on endpoints, including endpoints
that carry only repair, and how a receiver that measures loss moves
between them (<xref target="repair-only-endpoints"></xref>).  It states which tracks a
multicast endpoint carries in this revision
(<xref target="symbol-tracks-on-multicast"></xref>), and how the mechanism relates to the
repair that a multicast QUIC channel may provide below it
(<xref target="multicast-quic"></xref>).  Where a multicast content-authentication profile
decides which packets a receiver may trust, it specifies how blocks
delimited by packets that the profile has not admitted are held
(<xref target="provisional-symbols"></xref>).  Finally it specifies the receiver repair
policy of a multicast or AMT leg (<xref target="receiver-repair-policy"></xref>): every
block gets in-band FEC first, and a receiver that holds a MoQ session
requests unicast repair, by the per-block FETCH of <xref target="MOQ-FEC-CORE"></xref>,
only for blocks that FEC did not recover, in an order and within a
budget that the catalog fixes.</t>

<section anchor="relation-to-other-documents"><name>Relation to Other Documents</name>
<t>This document is a companion to <xref target="MOQ-FEC-CORE"></xref>, which defines the
scheme-independent mechanism: source symbols and blocks, symbol and
repair tracks, repair layers, repair Group IDs, fetching by block,
deadlines and the configuration data model.  Everything this document
does not define it takes from there.  The set of documents is
completed by <xref target="MOQ-FEC-BLOCK"></xref>, which specifies the Reed-Solomon and
RaptorQ schemes, <xref target="MOQ-FEC-CATALOG"></xref>, which binds the configuration
data model to the catalog, and <xref target="MOQ-MMT"></xref>, which defines the MMTP
block profile <tt>iso-ssbg1-v1</tt> and the keyframe overlay.  Multicast
carriage itself, endpoint discovery, the multicast packet format and
the bc-provenance content-authentication profile are defined in
<xref target="MOQ-MULTICAST"></xref>; this document adds the FEC-specific behavior on
top of them and does not depend on which carriage delivers the
multicast packets.  Like the core, it defines no message, parameter
or Property of MoQ Transport (<xref target="MOQ-FEC-CORE"></xref> Section 1.3).  Most of the text of this document is taken from
<xref target="I-D.ramadan-moq-fec"></xref>; <xref target="changes-from-draft-ramadan-moq-fec-01"></xref>
lists what moved here and what changed.</t>
</section>
</section>

<section anchor="conventions-and-definitions"><name>Conventions and Definitions</name>
<t>The key words &quot;MUST&quot;, &quot;MUST NOT&quot;, &quot;REQUIRED&quot;, &quot;SHALL&quot;, &quot;SHALL NOT&quot;,
&quot;SHOULD&quot;, &quot;SHOULD NOT&quot;, &quot;RECOMMENDED&quot;, &quot;NOT RECOMMENDED&quot;, &quot;MAY&quot;, and
&quot;OPTIONAL&quot; in this document are to be interpreted as described in
BCP 14 <xref target="RFC2119"></xref> <xref target="RFC8174"></xref> when, and only when, they appear in all
capitals, as shown here.</t>
<t>The terms below are used in this document with the meaning that
<xref target="MOQ-FEC-CORE"></xref> gives them; every other term of that document, and
of <xref target="MOQ-MULTICAST"></xref>, keeps its meaning there.</t>
<t><strong>Source Track</strong>: A MoQ track whose objects carry media, for example
video or audio, and which an FEC instance protects.</t>
<t><strong>FEC Instance</strong>: One independent FEC encoding over a sequence of
source symbols, with its own source symbol bound K, symbol size T,
SS_ID space, block partition, repair symbols and repair tracks.  A
source track has one or more FEC instances (Section
5.1 of <xref target="MOQ-FEC-CORE"></xref>).</t>
<t><strong>Base Instance</strong>: Of a source track that a keyframe overlay protects,
the instance that is not the overlay; of any other source track, its
only instance.</t>
<t><strong>Source Symbol</strong>: A T-byte unit of source data that an FEC instance
encodes.  Under <tt>iso-ssbg1-v1</tt> a source symbol is one FEC source
packet, an MMTP packet framed as Section 7.1 of
<xref target="MOQ-MMT"></xref> specifies.</t>
<t><strong>Repair Symbol</strong>: A T-byte unit generated by the FEC scheme from the
source symbols of one block.</t>
<t><strong>SS_ID</strong>: The 32-bit sequence number of a source symbol within its
FEC instance.  It wraps modulo 2^32 (Section
7.6 of <xref target="MOQ-FEC-CORE"></xref>).</t>
<t><strong>Source Block</strong>: A run of SSB_length consecutive source symbols,
1 &lt;= SSB_length &lt;= K, over which a block FEC scheme encodes.  A block
is the SS_ID range [SS_Start, SS_Start + SSB_length) and is identified
by its SS_Start.</t>
<t><strong>SS_Start and SSB_length</strong>: The first SS_ID of a source block and the
block's source symbol count, carried in the Repair FEC Payload ID of
every repair packet of the block (Section 7.5
of <xref target="MOQ-FEC-CORE"></xref>).</t>
<t><strong>RS_ID</strong>: The zero-based index of a repair symbol among the repair
symbols of its block.</t>
<t><strong>Repair Track</strong>: A MoQ track whose objects each carry one repair
symbol of one FEC instance.  Under <tt>iso-ssbg1-v1</tt> its objects are MMTP
FEC repair packets (<xref target="ISO.23008-1"></xref> Section C.4.3), the layer-0 repair
track carries the FEC repair flow that an ISO AL-FEC message names for
the source track's FEC encoded flow (Section 8.3
of <xref target="MOQ-MMT"></xref>), and further repair layers and a keyframe overlay are
repair tracks that only the catalog declares.</t>
<t><strong>Repair Layer</strong>: One of possibly several repair tracks of one FEC
instance, each carrying a disjoint range of RS_IDs for every block
(Section 7.3 of <xref target="MOQ-FEC-CORE"></xref>).  Layer 0 is the
base layer.  Layer i may use RS_IDs from its RS_ID offset O_i, and
carries P_i repair symbols per block.</t>
<t><strong>Symbol Track</strong>: A MoQ track whose objects each carry exactly one
source symbol of one FEC instance, grouped by block (Section
6.2 of <xref target="MOQ-FEC-CORE"></xref>).</t>
<t><strong>Keyframe Overlay</strong>: A second, independent FEC instance over an
MMTP-packaged source track whose source symbols are only the fragments
of Random Access Points and the FT=0 and FT=1 data units that govern
them, defined in Section 7.4
of <xref target="MOQ-MMT"></xref>.  An overlay is not a repair layer and carries no layer
index.</t>
<t><strong>Interleave Depth</strong>: When positive, the complete time span, in
milliseconds, of one FEC source/repair packet block, signaled as
<tt>interleaveDepthMs</tt> (Section 9.3 of
<xref target="MOQ-FEC-CORE"></xref>).  Zero is not a millisecond span: under
<tt>iso-ssbg1-v1</tt> it selects the ISO packet-count alternative (Section
7.5 of <xref target="MOQ-MMT"></xref>).</t>
<t><strong>FEC Deadline</strong>: The elapsed-time deadline that a receiver derives
for a block from a positive <tt>interleaveDepthMs</tt> together with
<tt>reorderToleranceMs</tt> (Section 9.3 of
<xref target="MOQ-FEC-CORE"></xref>).  A block has an FEC deadline only when its
instance carries a positive <tt>interleaveDepthMs</tt>.</t>
<t><strong>Multicast Endpoint</strong>: One multicast group of a catalog's <tt>multicast</tt>
extension, with the list of tracks it carries (Section
4.1 of <xref target="MOQ-MULTICAST"></xref>).</t>
<t><strong>Unlisted Track</strong> and <strong>Admitted Packet</strong>: Within a consumer that the
bc-provenance profile of <xref target="MOQ-MULTICAST"></xref> protects, an unlisted
track is one that no endpoint of a flow the consumer is protected
under lists, and an admitted packet is one that step 2 of the
receiver procedure of that profile (Section
7.2.7 of <xref target="MOQ-MULTICAST"></xref>)
has admitted.</t>
</section>

<section anchor="multicast-delivery"><name>Hybrid Unicast and Multicast Delivery</name>
<t>The FEC mechanism of <xref target="MOQ-FEC-CORE"></xref> is designed to support hybrid
delivery architectures where the same media stream is delivered via
multiple transport paths simultaneously.  Multicast delivery paths,
TreeDN integration, and the transport hierarchy are defined in
<xref target="MOQ-MULTICAST"></xref> (its Sections 1 and
3); this section covers FEC-specific
considerations for hybrid delivery.</t>
<t>The catalog's authority over FEC configuration (Section
10 of <xref target="MOQ-FEC-CORE"></xref>) holds uniformly
across a MoQ receiver's delivery paths, its multicast and AMT legs
included.  MoQ control messages cannot reach multicast or sessionless
receivers at all, so no control-message mechanism could serve as the
common signaling path; the catalog can, because it is delivered as
track data or out of band.</t>

<section anchor="multicast-and-amt-delivery"><name>Multicast and AMT Delivery</name>
<t>IP multicast (including Source-Specific Multicast per <xref target="RFC4607"></xref>) and
Automatic Multicast Tunneling (AMT per <xref target="RFC7450"></xref>) provide efficient
one-to-many delivery but are inherently unreliable.  FEC enables receivers
to recover from packet loss without retransmission:</t>

<ul spacing="compact">
<li><strong>Native SSM</strong>: Receivers join multicast group directly</li>
<li><strong>AMT Tunneling</strong>: Receivers without native multicast connect via AMT
relays discovered through DRIAD (<xref target="RFC8777"></xref>)</li>
<li><strong>TreeDN</strong> (<xref target="RFC9706"></xref>): native SSM where a network supports
multicast, and AMT relays, found through DRIAD, for receivers on
unicast-only networks.  The publisher generates FEC repair end to
end, and the repair is the same on every leg.</li>
</ul>
<t>For an mmtp track, the same MMTP packets (source and repair) can be
transmitted over both
unicast (QUIC/WebTransport) and multicast (UDP/SSM/AMT) paths.  Receivers
that take the track on QUIC streams can skip FEC decoding (Section
3.3 of <xref target="MOQ-FEC-CORE"></xref>), while
receivers on lossy multicast paths use FEC for recovery and apply the
receiver repair policy of <xref target="receiver-repair-policy"></xref> to any block that
FEC does not recover.  Receivers that take its &quot;mfu-datagram&quot; track,
which carries the same source packets as unicast datagrams under FEC
instances and repair tracks of its own (<xref target="MOQ-MMT"></xref> Section 4.3.1),
use FEC too, and repair as that section specifies.  A multicast
endpoint carries only mmtp tracks,
so a loc or cmaf track reaches multicast through an mmtp alternate
track, which is a separate FEC instance (<xref target="MOQ-MULTICAST"></xref> Section
4.1; see
<xref target="symbol-tracks-on-multicast"></xref>).</t>

<artwork><![CDATA[Publisher
    |
    v
+----------------+
|   MoQ Relay    |
| (Origin/Root)  |
+-------+--------+
        |
   +----+----+--------------------+
   |         |                    |
   v         v                    v
Unicast   SSM Multicast      AMT Tunnel
(QUIC)    (Native)           (Encapsulated)
   |         |                    |
   v         v                    v
[Web     [Native SSM         [Mobile/
Client]   Clients]            Remote]

FEC:      FEC:                FEC:
Optional  Expected            Expected
]]></artwork>
</section>

<section anchor="deployment-applicability"><name>Deployment Applicability</name>
<t>The repair overhead this mechanism adds is justified only where the
delivery path actually loses packets, and multicast loss characteristics
differ by orders of magnitude across access technologies.  FEC strength
(P and Interleave Depth) is a per-path deployment choice, expressed by
which tracks each endpoint carries, not a protocol constant.</t>

<ul>
<li><t><strong>Engineered low-loss segments.</strong>  On managed PON or DOCSIS delivered
over a provisioned VLAN, steady-state loss is typically far below
10^-6.  Disabling FEC for such a path is signaled by omitting the
repair track from the tracks that path's endpoints carry.  Adding
repair symbols
on such a path spends bandwidth to recover losses that do not occur.</t>
</li>
<li><t><strong>FEC-capable broadcast PHYs.</strong>  ATSC 3.0, DVB-S2/S2X, and 5G broadcast
already apply bit-error correction on their own radio link (e.g.,
LDPC/BCH in ATSC 3.0 and DVB-S2/S2X).
Application-layer FEC is not a duplicate of that correction: it recovers
<em>packet erasures</em> the PHY cannot address -- bursts when reception falls
below the PHY threshold (rain fade, mobility, indoor reception), and
losses on upstream aggregation or backbone hops that the last-hop PHY
never sees.  Its value on these paths comes primarily from Interleave
Depth spreading a burst across the time domain, not from the code rate.
On a one-way broadcast downlink with no return path, application-layer
FEC is the only available erasure-recovery mechanism -- which is why
ATSC 3.0 (see Section 10 of <xref target="MOQ-MMT"></xref>)
specifies it above the PHY.</t>
</li>
<li><t><strong>Public Internet and AMT tunnels.</strong>  Loss is real and bursty; a
non-trivial repair count with interleaving is RECOMMENDED.</t>
</li>
</ul>
<t>Which tracks a multicast endpoint carries in this revision, and so
which of the core's carriages reach a multicast leg, is stated in
<xref target="symbol-tracks-on-multicast"></xref>.</t>
</section>

<section anchor="symbol-tracks-on-multicast"><name>Symbol Tracks on Multicast Endpoints</name>
<t>In this revision a multicast endpoint of <xref target="MOQ-MULTICAST"></xref> carries
mmtp tracks and their repair tracks only (<xref target="MOQ-MULTICAST"></xref> Section
4.1), so every track that a
multicast leg carries is protected under the <tt>iso-ssbg1-v1</tt> block
profile of <xref target="MOQ-MMT"></xref>, where one MMTP packet is one source symbol.  A
loc or cmaf track reaches a multicast endpoint only through an mmtp
alternate track, which is a separate FEC instance.  A symbol track of
the symbol carriage of <xref target="MOQ-FEC-CORE"></xref> (its Section
6.2) has the packaging value <tt>fec-source</tt>
(<xref target="MOQ-FEC-CATALOG"></xref> Section 3.3), which the
<tt>name</tt> rule of <xref target="MOQ-MULTICAST"></xref> Section
4.1 does not permit, so a symbol
track is not listed on a multicast endpoint, and a receiver ignores an
endpoint that lists one under the rule of that section; this document
adds no receiver rule of its own.</t>
<t>Editor's Note: Symbol carriage makes one lost datagram erase one
symbol, which is what multicast needs, and nothing in the core ties a
symbol track to a MoQ path.  Carrying symbol tracks and their repair
layers on multicast endpoints, with a packet format for them, is
future work for this document and <xref target="MOQ-MULTICAST"></xref>.</t>
</section>

<section anchor="multicast-quic"><name>Interaction with Multicast QUIC</name>
<t>This section is informative.</t>
<t><xref target="QUIC-MULTICAST"></xref> lets a server send QUIC packets on one-way multicast
channels.  A channel is an alternate path of the unicast QUIC
connections whose clients have joined it, and its packets can carry
STREAM and DATAGRAM frames.  Clients acknowledge channel packets with
MC_ACK frames on their unicast connections (<xref target="QUIC-MULTICAST"></xref>
Section 4.4).  The server of each connection remains responsible for
any necessary frame data that a channel loses, and Section 8 of
<xref target="QUIC-MULTICAST"></xref> recommends that it send FEC repair packets on the
channel instead of retransmitting the lost frames.  That repair is a
transport mechanism below this mechanism, and this document does not
depend on it.  This mechanism can serve as the application-layer FEC on
such a channel, and suits broadcast-scale audiences better than
unicast repair, because per-receiver retransmission does not scale.</t>
<t>When this mechanism is carried over a multicast QUIC channel:</t>

<ol>
<li><t><strong>Symbol-to-datagram mapping.</strong>  Each source or repair symbol (one MMTP
packet, per <xref target="MOQ-MMT"></xref>) is best carried in exactly one QUIC DATAGRAM
frame, as an object of an mmtp track sent as datagrams, or of its
repair tracks (<xref target="MOQ-MMT"></xref> Section 4.3.1).  This aligns the erasure
unit (a lost QUIC packet) with the FEC
symbol, so one lost packet erases exactly one source symbol.  STREAM
framing defeats symbol-aligned recovery of FEC-protected media on a
multicast channel: a lost packet then spans a byte range crossing
symbol boundaries.</t>
</li>
<li><t><strong>Crypto boundary.</strong>  FEC encoding operates on application-layer
objects, ABOVE the QUIC packet protection of <xref target="QUIC-MULTICAST"></xref>.
Unlike bare multicast UDP -- which lacks QUIC's integrity guarantees
(see <xref target="security-considerations"></xref>) -- the multicast QUIC binding
applies a shared-key
AEAD per packet.  A sender computes source and repair symbols over the
unencrypted objects; the channel then applies its AEAD; a receiver
decrypts each surviving packet and recovers erased objects from the
decrypted source and repair symbols.  A lost packet cannot be
decrypted, but its object is reconstructed from other verified symbols,
so recovery does not depend on possessing it.</t>
</li>
<li><t><strong>Integrity of recovered objects.</strong>  The MC_INTEGRITY frames of
<xref target="QUIC-MULTICAST"></xref> carry hashes of channel packets, and a client
decodes a channel packet only after a matching hash has arrived
over another integrity-protected path (<xref target="QUIC-MULTICAST"></xref>
Section 4.5).  A
FEC-reconstructed object was never carried in a single packet and is
therefore not individually covered by a packet hash; it inherits trust
transitively from the verified surviving symbols used to reconstruct
it.  Deployments requiring per-object authentication of recovered data
can additionally apply a scheme that authenticates every multicast
symbol before it enters the decoder, repair symbols included, and,
whenever a symbol of its decode was not so authenticated, checks a
recovered packet against its own digest or, where it can derive no
coordinate to hash with, withholds it (for example version 2 of
the manifest-based bc-provenance profile of <xref target="MOQ-MULTICAST"></xref>
Section 7.2, whose receiver
procedure is its Section
7.2.7).</t>
</li>
<li><t><strong>Repair channel versus unicast repair.</strong>  A publisher using this
mechanism broadcasts repair symbols on the multicast channel (the
repair track) rather than relying on unicast retransmission.
Receivers covered by the repair flow have no need to drive unicast
repair for losses the FEC recovers, which preserves the O(1) sender
cost that motivates broadcast FEC.  Unicast repair remains a last
resort for losses exceeding the repair budget, and
<xref target="receiver-repair-policy"></xref> specifies it.</t>
</li>
</ol>
<t>Item 1 assumes <tt>iso-ssbg1-v1</tt>, under which one MMTP packet is one
source symbol; <xref target="symbol-tracks-on-multicast"></xref> states that this is the
only block profile a multicast endpoint carries in this revision.</t>
<t>A receiver deduplicates the symbols it receives on a multicast QUIC
channel as on any other path, within one FEC instance: source symbols
by SS_ID and repair symbols by (SS_Start, RS_ID).  Section
5.5 of <xref target="MOQ-FEC-CORE"></xref> states
that requirement; <xref target="QUIC-MULTICAST"></xref> states none for application
symbols.  That section also permits combining them with
symbols received from other paths.</t>
</section>
</section>

<section anchor="repair-only-endpoints"><name>Repair-Only Multicast Endpoints</name>
<t>Multicast endpoints carry only mmtp tracks and their repair tracks
(<xref target="symbol-tracks-on-multicast"></xref>), so this section concerns tracks
under <tt>iso-ssbg1-v1</tt>.</t>
<t>On a multicast endpoint the receiver cannot choose tracks; the
operator of the endpoint chooses which tracks that path carries.  Each
repair layer carried on an endpoint is listed with its own <tt>packetId</tt>
(<xref target="MOQ-MULTICAST"></xref> Section 4.1),
exactly as a source track is, and a
receiver MUST route every such <tt>packetId</tt> to the decoder of the FEC
instance that layer serves, the one its <tt>source</tt> and <tt>instanceId</tt>
name (Section 10.2 of
<xref target="MOQ-FEC-CORE"></xref>).  Because every endpoint carries the same
source packets under the same block partition (Section
7.3 of <xref target="MOQ-FEC-CORE"></xref>), a
receiver that moves between endpoints, or that is side-fed over MoQ
unicast, mixes symbols from all of them in one decode.  Layers not
carried on any endpoint the receiver holds remain reachable over MoQ
unicast (Section 7.2 of <xref target="MOQ-FEC-CORE"></xref>) for
receivers that have a return path.</t>
<t>An operator MAY carry the source track and its layers together on one
endpoint, or MAY place layers on endpoints of their own.  An endpoint
whose track list contains only <tt>fec-repair</tt> tracks (the packaging
value of Section 3.3 of <xref target="MOQ-FEC-CATALOG"></xref>)
is a repair-only endpoint:</t>

<sourcecode type="json"><![CDATA[{
  "multicast": {
    "endpoints": [
      {
        "sourceAddress": "198.51.100.100",
        "groupAddress": "232.1.1.50",
        "port": 5000,
        "tracks": [
          { "name": "video",          "packetId": 1 },
          { "name": "video/repair",   "packetId": 2 }
        ]
      },
      {
        "sourceAddress": "198.51.100.100",
        "groupAddress": "232.1.1.51",
        "port": 5000,
        "tracks": [
          { "name": "video/repair/1", "packetId": 3 },
          { "name": "video/repair/2", "packetId": 4 }
        ]
      }
    ]
  }
}
]]></sourcecode>
<t>The first endpoint suits a regional path with low random loss.  The
second is repair-only: a receiver on a lossy path holds both, and
receives source packets once while adding layers 1 and 2 to the same
decode.</t>
<t>A repair-only endpoint is never a media tier.  A receiver MUST NOT
treat one as an alternate track or quality choice, and endpoint or ladder
selection MUST exclude it on every path by which a receiver picks
what to render.  A repair-only endpoint's <tt>bandwidth</tt>
(<xref target="MOQ-MULTICAST"></xref> Section 4.1) is
the cost of adding repair to a
stream the receiver has already selected, not the cost of an
alternate track, and MUST NOT be compared against a media
endpoint's <tt>bandwidth</tt> when choosing one.</t>
<t>A receiver joins a repair-only endpoint on measured loss: the rate at
which its FEC blocks fail to recover, and the margin by which
recovering blocks consume the repair symbols available to it.  A
receiver MUST NOT use goodput, throughput, or estimated available
bandwidth to decide whether to add or drop a repair layer.  The
capacity check that Section 7.4 of
<xref target="MOQ-FEC-CORE"></xref> recommends before a layer is added is the one
exception: it can withhold an add that measured loss calls for, but
it is neither a trigger for adding a layer nor a reason to drop one.</t>
<t>Layer changes are make-before-break.  A receiver MUST join the
additional layer's endpoint and begin receiving from it before
leaving any endpoint it currently holds, so that no source block is
left with less coverage than the receiver already had.  A layer
whose endpoint the receiver has left is carried on no endpoint it
holds, reachable over MoQ unicast as above; under the bc-provenance
profile of <xref target="MOQ-MULTICAST"></xref> Section
7.2 a receiver holds an
endpoint while joined to its group, reading its manifest track or
receiving the broadcast that carries the flow (its
Section 7.2.9), and a consumer is protected
under that endpoint's
flow only while the receiver holds it (step 2 of <xref target="MOQ-MULTICAST"></xref>
Section 7.2.7).</t>
<t>Hysteresis MUST derive from the FEC block span, that is from
<tt>interleaveDepthMs</tt> together with <tt>reorderToleranceMs</tt>, and MUST NOT
come from a fixed timer or a fixed symbol count.  A receiver MUST
observe at least one full block span at the new layer set before
making a further layer change.</t>
<t>That loss measure and this hysteresis both need a block deadline,
which exists only for a positive <tt>interleaveDepthMs</tt> (Section
9.3 of <xref target="MOQ-FEC-CORE"></xref>).  On a
multicast or AMT leg, a receiver of a track whose catalog omits that
field or sets it to zero MUST NOT add or drop a repair layer of the
track on block-recovery evidence, and keeps its repair-layer selection
for the track fixed.  This is an exception to the layer addition that
Section 7.4 of <xref target="MOQ-FEC-CORE"></xref> recommends
when a block fails to recover: without a signaled span a receiver has
only a deadline of its own (its Section
9.3), and on a multicast or AMT leg this
document does not let it change layers on that basis.</t>
<t>Layering changes the shape of the amplification exposure, because the
attacker's lever is now which layers a victim can be made to receive
rather than only whether it receives repair at all.  Each layer i adds
P_i x T bytes per source block, so a receiver induced to hold more
layers receives proportionally more repair traffic.  Deployments
SHOULD bound the number of layers any single receiver may hold, and
SHOULD apply the same join authorization to repair-layer endpoints as
to media endpoints; a repair-only endpoint is not
less sensitive than a media one merely because it carries no media.
A receiver MUST NOT be made to receive a repair layer it did not
join.  A publisher or relay MUST NOT push a repair-layer endpoint to
a receiver that has not joined it, and MUST NOT add a layer to an
endpoint a receiver has already joined as a way of raising that
receiver's protection (Section 14.4 of
<xref target="MOQ-FEC-CORE"></xref>).</t>
<t>The repair track of a keyframe overlay (<xref target="MOQ-MMT"></xref> Section 7.4) is
not a layer of the base instance: it carries no <tt>repairLayer</tt> and
stays outside the base instance's layer chain (<xref target="MOQ-MMT"></xref> Section
7.4.1).  The rules of this section for adding and dropping a repair
layer apply to adding and dropping the overlay's repair track: the
join on measured loss, the capacity check, make-before-break, the
hysteresis and the fixed selection without a block deadline.  For the
overlay's repair track they read the overlay instance's blocks,
<tt>interleaveDepthMs</tt> and <tt>reorderToleranceMs</tt>, and for a repair layer
the base instance's.  The overlay instance has its own block
partition, whose blocks can span many base blocks (<xref target="MOQ-MMT"></xref> Section
7.4.2), and its own block span (Sections 8.4, 9.3 and 10.1 of
<xref target="MOQ-FEC-CORE"></xref>).</t>
<t>A receiver that does not hold the overlay's repair track cannot
delimit an overlay block, because only repair packets carry a block's
extent (Section 5.4 of <xref target="MOQ-FEC-CORE"></xref>).  The loss it measures for
the overlay is then the RAP packets that it lacks and that base
decoding has not recovered, which gaps in the overlay SS_IDs of the
RAP packets it holds reveal (Sections 7.4.2 and 7.4.3 of
<xref target="MOQ-MMT"></xref>).  A gap shows only when the next member arrives, so this
measure can lag a loss by up to one interval between covered
keyframes, which can be longer than the overlay's block span that
bounds the hysteresis.  On a multicast or AMT leg, a receiver of an overlay
whose instance omits <tt>interleaveDepthMs</tt> or sets it to zero keeps
fixed whether it holds the overlay's repair track.  A positive
overlay <tt>interleaveDepthMs</tt>, which <xref target="MOQ-MMT"></xref> Section 7.4.1
recommends wherever the base instance carries one, lets receivers on
those legs add and drop that track on loss.  Where one endpoint
carries the overlay's repair track and a repair layer of the base
instance, joining or leaving it
changes both, and a receiver does so only when the rules for each
allow it.</t>
<t>The overlay's repair track adds P_overlay x T bytes per overlay block,
P_overlay being the overlay instance's <tt>repairSymbols</tt>.  Every rule of
the paragraph on amplification above applies to it as to a repair
layer, and the bound on the layers a receiver may hold counts it.</t>
</section>

<section anchor="provisional-symbols"><name>Provisional Blocks and Admitted Packets</name>
<t>The bc-provenance profile of <xref target="MOQ-MULTICAST"></xref> Section
7.2 decides, in step 2 of its
receiver procedure (its Section
7.2.7), which packets of a
protected flow a consumer admits.  This section specifies what a
receiver does with the blocks and symbols that the profile has not
admitted; it adds no admission rule of its own.  The block and
short-block rules that it qualifies are those of Section
5.4 of <xref target="MOQ-FEC-CORE"></xref>, the fail-closed
layer check is that of Section 7.3.2, the
Group-range FETCH is that of Section
7.7, and the block deadline
and receiver-state policy are those of Sections
9.3 and 9.4.</t>

<section anchor="provisional-blocks"><name>Provisional Blocks</name>
<t>A consumer that the bc-provenance profile of <xref target="MOQ-MULTICAST"></xref>
Section 7.2 governs for its blocks is
one protected under a flow whose endpoint lists its source track (step
2 of its Section 7.2.7).  A
consumer protected under no such flow, as one that a repair-only
endpoint feeds while the receiver takes the source track over MoQ
unicast alone, is, for this section,
<xref target="deadline-anchoring-and-discard"></xref> and <xref target="receiver-repair-policy"></xref>, a
consumer outside the profile.  The scoping of the check of <xref target="anchoring-the-layer-check"></xref> to
admitted packets is wider: it reaches a consumer wherever it is
protected under any flow of the profile, as it reaches every consumer
so protected.</t>
<t>An unlisted track is one that no endpoint of a flow the consumer is
protected under lists, as that step defines it: a track that no
multicast endpoint the receiver holds lists, where holding an endpoint
is being joined to its group, reading its manifest track or receiving
the broadcast that carries the flow; or a track that a held endpoint
lists while the consumer is not yet protected under its flow
(<xref target="repair-only-endpoints"></xref>).</t>
<t>Within a consumer the profile governs for its blocks, a block that
only symbols of an unlisted track have delimited is provisional: it yields to a repair
packet the profile has admitted whose (SS_Start, SSB_length) conflicts
with it, as that step specifies, and the fail-closed consistency rules of Section
5.4 of <xref target="MOQ-FEC-CORE"></xref> then apply among
admitted packets.  A provisional block is held for decoding only:
it has no ts and no FEC deadline (Section
9.3 of <xref target="MOQ-FEC-CORE"></xref>), and the
SS_IDs in its
range that the receiver lacks belong, for <xref target="receiver-repair-policy"></xref>,
to blocks
the receiver holds no repair packet of, as if the block were not
delimited; such a symbol reveals no run of lost SS_IDs, which a
packet the profile admits above them alone reveals.</t>
</section>

<section anchor="anchoring-the-layer-check"><name>Anchoring the Fail-Closed Layer Check</name>
<t>Section 7.3.2 of <xref target="MOQ-FEC-CORE"></xref> requires
a receiver to fail closed, and stop FEC for the instance, when, for a
layer i that it holds, a repair object of that layer's track, i being
above 0, or a repair object of the instance of a block at or after,
in the serial order of Section
7.6 of <xref target="MOQ-FEC-CORE"></xref>, one of
which it has received a repair object carrying at least O_i + P_i,
carries an RSB_length below the O_i + P_i derived from its
configuration; a block before the anchoring one whose objects carry
less is not subject to the check.
Within a consumer protected under a flow of the
bc-provenance profile of <xref target="MOQ-MULTICAST"></xref> Section
7.2, whether or
not that profile governs it for its blocks (<xref target="provisional-blocks"></xref>),
the packet
that anchors the check and the packet it tests are both repair
packets that profile has admitted (step 2 of its Section
7.2.7): a
symbol of an unlisted track reaches the consumer under the
integrity protection of a MoQ unicast path, which vouches for the
relay and not for the publisher, so the total it carries attests to
no coordinate the publisher is using; it anchors nothing, and one
whose RSB_length is below the O_i + P_i of a layer the receiver
holds is discarded, leaving the state of every block unchanged, so
that a relay on that path cannot stop FEC for the instance with one
packet.</t>
</section>

<section anchor="admitted-blocks-in-the-fetch-range"><name>Admitted Blocks in the Group-Range FETCH</name>
<t>Section 7.7 of
<xref target="MOQ-FEC-CORE"></xref> derives, for a lost SS_ID x, the Group range
[ max(ext(S_prev) + 1, ext(x) - (K - 1)), ext(x) ], where S_prev is
the SS_Start of the last block that the receiver has delimited that
ends before x.
Within a consumer that the
bc-provenance profile of <xref target="MOQ-MULTICAST"></xref> Section
7.2 governs for
its blocks (<xref target="provisional-blocks"></xref>), only a block that a repair packet
the
profile has admitted delimits counts here: a provisional block,
one that only symbols of an unlisted track (<xref target="provisional-blocks"></xref>)
have
delimited, is no such block, as its (SS_Start, SSB_length) is
unverified and the block that contains x may start within its
range.  When the receiver has delimited no such block, the first
term is absent and the range is
[ max(ext(x) - (K - 1), 0), ext(x) ].</t>
</section>

<section anchor="deadline-anchoring-and-discard"><name>Deadline Anchoring and Discard</name>
<t>The block deadline of Section 9.3 of
<xref target="MOQ-FEC-CORE"></xref> is anchored at first_arrival, written <tt>ts</tt> in this
document: the timestamp of the first source or repair packet of the
block when the receiver received that packet, not at block creation
or the first repair receipt.  A
block whose first packet the receiver did not receive is one that it
first learns of from a later signal -- a later source or repair
packet of the block, a packet of a successor block, or a FETCH
response that covers the block (Section
7.7 of <xref target="MOQ-FEC-CORE"></xref>) --
and its <tt>ts</tt> is the
arrival time of that signal.  Within a consumer that the
bc-provenance profile of <xref target="MOQ-MULTICAST"></xref> Section
7.2 governs for
its blocks (<xref target="provisional-blocks"></xref>), the packet whose receipt anchors
<tt>ts</tt> is
the first packet of the block, in the order received, that the
profile admits, whenever it admits it (a datagram held on a miss
and admitted later keeps its receipt time), and a symbol of an
unlisted track (<xref target="provisional-blocks"></xref>) is neither that packet nor such
a
signal, whether or not a repair packet the profile admits later
delimits the same block; a block that only such symbols have
delimited is held for decoding only: it has no <tt>ts</tt> and no FEC
deadline,
whatever packets the profile admits into or above its range, and the
SS_IDs in its range that the receiver lacks are runs of
<xref target="receiver-repair-policy"></xref>, each with the <tt>ts</tt> the packet admitted
above it gives, as step
2 of <xref target="MOQ-MULTICAST"></xref> Section
7.2.7 specifies.</t>
<t>Under that profile a sender holds a datagram until the window that
covers it closes, up to <tt>manifestTimerMs</tt>, and a receiver holds one
whose signed record it lost until the record's twin arrives, which
the sender transmits up to <tt>maxAuthDelayMs / 2</tt> after the record
(<xref target="MOQ-MULTICAST"></xref> Section 7.2.5); a symbol admitted after its
block's FEC deadline is too late for the decode of
<xref target="receiver-repair-policy"></xref>.  A publisher whose flows that profile
protects SHOULD include both holds in an instance's
<tt>reorderToleranceMs</tt>, the allowance for processing of Section 9.3
of <xref target="MOQ-FEC-CORE"></xref>, so that a short <tt>interleaveDepthMs</tt> does not
let a block's deadline pass while a datagram that arrived in time
awaits verification.</t>
<t>A receiver bounds the state it holds for open blocks by the
receiver-local policy of Section 9.4 of
<xref target="MOQ-FEC-CORE"></xref>, which forbids discarding a block that has an FEC
deadline before that deadline, or while a FETCH for it is outstanding,
the unicast repair FETCH of <xref target="keyframe-bearing-blocks"></xref> included,
except under a memory cap.  A block so discarded is, under that
section, treated from then on as having reached its FEC deadline
unrecovered and, on a track whose blocks <xref target="block-classification"></xref>
classifies, of unknown class.  Within a consumer that the
bc-provenance profile governs for its blocks (<xref target="provisional-blocks"></xref>),
the
policy discards a block that has no <tt>ts</tt>, one that only symbols of
an unlisted track have delimited, before any block that has a <tt>ts</tt>,
on a track that derives no FEC deadline as on one that does, and
such a discard is neither a reached deadline nor a
signal: it gives the block no deadline and no class, drops its repair
symbols and returns its source symbols to the undelimited state of
Section 5.4 of <xref target="MOQ-FEC-CORE"></xref> (step 2
of <xref target="MOQ-MULTICAST"></xref> Section
7.2.7).  The policy is not
signaled and is kept separate from the configured values (Section
9.4 and Section 9.3
of <xref target="MOQ-FEC-CORE"></xref>): it changes neither <tt>interleaveDepthMs</tt> nor
<tt>reorderToleranceMs</tt> nor a deadline derived from them, and discarding
a block under it does not create an FEC deadline
(<xref target="receiver-repair-policy"></xref>).</t>
</section>
</section>

<section anchor="receiver-repair-policy"><name>Receiver Repair Policy</name>
<t>This section specifies what a receiver of a multicast or AMT leg does
with a base-instance block of a source track that in-band FEC has not
recovered by the block's FEC deadline (Section
9.3 of <xref target="MOQ-FEC-CORE"></xref>).  A receiver that takes an mmtp track as MoQ
datagrams on a unicast QUIC path (<xref target="MOQ-MMT"></xref> Section 4.3.1) has no
retransmission either, but its repair serves it alone, and it requests
repair as that section specifies; on a multicast QUIC channel
(<xref target="multicast-quic"></xref>) this section applies as on any multicast leg.  A
receiver on a MoQ/QUIC leg that delivers the track on streams relies
on transport retransmission (Section
3.3 of <xref target="MOQ-FEC-CORE"></xref>)
and does not need it, and nothing in this section adds a deadline or
a timer to such a leg.  Multicast and AMT legs carry only mmtp tracks
(<xref target="MOQ-MULTICAST"></xref> Section 5;
<xref target="symbol-tracks-on-multicast"></xref>), so this section, which classifies
blocks from MMTP fields, concerns tracks under <tt>iso-ssbg1-v1</tt>.</t>
<t>Every step of this section is keyed on a block's FEC deadline, which
exists only when the track's catalog carries a positive
<tt>interleaveDepthMs</tt> (Section 9.3 of
<xref target="MOQ-FEC-CORE"></xref>).  On a multicast or AMT leg, this
section therefore requires a positive <tt>interleaveDepthMs</tt>: a receiver
of a track whose catalog omits it or sets it to zero MUST disable the
block classification and unicast repair of this section for that
track.  The receiver still decodes in-band FEC from the symbols that
arrive (Section 5.5 of
<xref target="MOQ-FEC-CORE"></xref>), with open-block state bounded by the local
policy of Section 9.4 of <xref target="MOQ-FEC-CORE"></xref> and
<xref target="deadline-anchoring-and-discard"></xref>.
Media still missing at its presentation time is
lost: the loss of a RAP, or of a data unit that governs one, is
handled as for an unrecoverable keyframe-bearing block
(<xref target="keyframe-bearing-blocks"></xref>), and other loss is concealed as in
<xref target="other-video-blocks"></xref> and <xref target="audio-blocks"></xref>.</t>
<t>Every block receives in-band FEC processing.  A receiver MUST attempt
to recover every block, whatever its class, from the source and repair
symbols received on its multicast and AMT paths, together with any it
receives on other paths (Section 5.5 of
<xref target="MOQ-FEC-CORE"></xref>), up to the block's FEC deadline.
Within a consumer that the bc-provenance profile of <xref target="MOQ-MULTICAST"></xref>
Section 7.2 governs for its blocks
(<xref target="provisional-blocks"></xref>), a symbol of an
unlisted track (<xref target="provisional-blocks"></xref>) enters a decode only as step 2
of <xref target="MOQ-MULTICAST"></xref> Section
7.2.7 allows, which takes none
into a
decode of a block that two decodes with such symbols' help have left
unrecovered; the attempt continues from the symbols the profile
admits.  The rest of this section governs only a block that is still
unrecovered at that deadline: the receiver does not hold all of its
SSB_length source symbols (Section 5.4 of
<xref target="MOQ-FEC-CORE"></xref>), and decoding from the
symbols it holds has not recovered them.  Within such a consumer, a
source symbol the profile has not admitted, received or recovered, is
not held for this purpose (step 2 of <xref target="MOQ-MULTICAST"></xref>
Section 7.2.7).</t>
<t>A run of SS_IDs that the receiver lacks and that lies in no block it
has delimited belongs to one or more blocks of which it holds no
repair packet (Section 5.4 of
<xref target="MOQ-FEC-CORE"></xref>).  For this section the receiver treats
such a run as one block of the instance (within a consumer that the
bc-provenance profile of <xref target="MOQ-MULTICAST"></xref> Section
7.2 governs for
its blocks, <xref target="provisional-blocks"></xref>, a block only symbols of an unlisted
track
have delimited being no block the receiver has delimited, and the
run one only once a packet the profile has admitted lies above it,
step 2 of <xref target="MOQ-MULTICAST"></xref> Section
7.2.7):
<xref target="block-classification"></xref>
classifies it from the source packets the receiver holds on either
side of it, and its repair is requested by the Group range of
Section 7.7 of
<xref target="MOQ-FEC-CORE"></xref>, whose response also delimits the blocks it covers.</t>
<t>The policy distinguishes keyframe-bearing blocks, whose loss can stop
video decoding until the next Random Access Point (RAP), from other
blocks, whose loss damages only frames up to the next RAP.
Keyframe-bearing blocks are protected by priority unicast repair and
are the only blocks whose loss may stall video.  Other blocks are
repaired on a best-effort basis and, when repair fails, concealed.
Every frame and audio sample a receiver presents MUST be presented at
its authored time on the presentation clock shared by its tracks, and
a receiver MUST NOT stall video or pause that clock except for a
keyframe-bearing block (<xref target="keyframe-bearing-blocks"></xref>).</t>

<section anchor="block-classification"><name>Block Classification</name>
<t>This section applies to tracks protected under the <tt>iso-ssbg1-v1</tt>
block profile of <xref target="MOQ-MMT"></xref>, and the fields it reads are those of
the MMTP packet header, of the MPU-mode payload header and of the DU
header, as Sections 3.1 and 5.2 of
<xref target="MOQ-MMT"></xref> define them.  The classification is a receiver-side
repair-ordering policy computed from MMTP packet headers that the
receiver already holds: it decides which unrecovered blocks are
requested first and which may stall video.  It is not instance
membership.  A receiver never uses it to decide which FEC instance a
packet belongs to, which repair layers to hold, or whether to feed a
symbol to a decoder: instance membership and the symbols a decoder
takes follow from the configuration and the Source FEC Payload ID
alone, and the layers a receiver holds are chosen as Section
7.4 of <xref target="MOQ-FEC-CORE"></xref> describes, from the
loss it observes and its capacity, never from a payload, as Section
8.5 of <xref target="MOQ-FEC-CORE"></xref>
requires.  What this section decides from the headers is only the
order and budget of the per-block unicast repair of
<xref target="keyframe-bearing-blocks"></xref> and <xref target="unicast-repair-budget"></xref>, a choice
that Sections 7.4 and
7.7 of <xref target="MOQ-FEC-CORE"></xref> leave
to the receiver.</t>
<t>A base block of a video source track is keyframe-bearing if the
source symbols that the receiver lacks from it carry, or may carry,
any part of a RAP: a fragment of a RAP MFU, or of the FT=0 or FT=1
data unit that governs it (<xref target="MOQ-MMT"></xref> Sections 4.3 and 5.1).  The
class goes by what the receiver lacks: it orders repair and decides
what may stall video.  The budget of <xref target="unicast-repair-budget"></xref> is
credited by what a block carries, held or not, as that section says.
The receiver classifies each block when the block reaches its FEC
deadline, from two inputs and only from them: fields of the source
packets that it holds, and the track's keyframe interval and group
duration in the catalog (<xref target="MOQ-MMT"></xref> Sections 4.4.2 and 4.4.3).  A
video MPU holds exactly one RAP, its first sample (<xref target="MOQ-MMT"></xref>
Section 5.3.4), and every packet of an MPU carries the MPU sequence
number.  A keyframe interval that is equal to the group duration
tells the receiver that the publisher keeps to this.  The receiver
reads neither <tt>priority</tt> nor <tt>dep_counter</tt>.  It reads a decode time
for one purpose only, to check that statement, as this section says
below.  The block's
SS_Start and SSB_length, once known
(Section 5.4 of <xref target="MOQ-FEC-CORE"></xref>), fix
which SS_IDs belong to the block, and a positive
<tt>interleaveDepthMs</tt> with <tt>reorderToleranceMs</tt> fixes the elapsed-time
deadline at which the class is taken (Section
9.3 of <xref target="MOQ-FEC-CORE"></xref>).</t>
<t>The receiver first bounds what the block's missing source symbols can
carry.  The lower bounding packet is the last source packet it holds,
in SS_ID order, before the block's first missing source symbol; the
upper bounding packet is the first source packet it holds after the
block's last missing source symbol.  Either may lie in an adjacent
block.  Only FEC source symbols count: the AL-FEC signaling object of
<xref target="MOQ-MMT"></xref> Section 8.3 carries no SS_ID and is
never a bounding
packet.  A publisher MUST assign the base SS_IDs of a track's source
packets in increasing order along the authored order of <xref target="MOQ-MMT"></xref>
Section 4.3, so every data unit the missing
symbols can carry lies
between the data units of the two bounding packets, those two
included.</t>
<t>The bounding packets bound that data.  The class comes from two DU
headers, which the MPU rule reads and which need not be the bounding
packets.  The lower DU header is the last FT=2 source packet
carrying a DU header that the receiver holds, in SS_ID order, before
the block's first missing source symbol.  The upper DU header is the
first one it holds after the block's last missing source symbol.
Either may lie in an adjacent block.</t>
<t>The rule uses two things that the receiver knows about what it holds:</t>

<ul>
<li><t>The lower side is clear when the receiver can tell that the lower
DU header's sample is not the first sample of its MPU, or when it
holds every packet of that first sample.  The block's missing
symbols then carry no
part of the RAP of the lower header's MPU.  <xref target="MOQ-MMT"></xref> Section 4.3
sets <tt>RAP_flag</tt> on the packet that begins the first sample of an
MPU, the packet whose DU header carries <tt>offset</tt> zero, and
<xref target="MOQ-MMT"></xref> Section 5.3.4 lets no packet of a later sample set it.
So a DU header that carries <tt>offset</tt> zero in a packet that does not
set <tt>RAP_flag</tt> belongs to a later sample.  So does a DU header whose
<tt>movie_fragment_sequence_number</tt> or <tt>sample_number</tt> differs from
those of a DU header of the same MPU whose packet sets <tt>RAP_flag</tt>.</t>
</li>
<li><t>The start of an MPU is held whole when the receiver holds the MPU
metadata packet (FT=0) of that MPU, the movie fragment metadata
packet (FT=1) sent before its first sample, and every packet of
that first sample.</t>
</li>
</ul>
<t>A receiver holds every packet of a sample when it has reassembled the
sample completely (<xref target="MOQ-MMT"></xref> Section 5.3.3).  The MPU rule has four
items:</t>

<ol>
<li><t>Same MPU.  The two DU headers carry the same MPU sequence number,
and the lower side is clear.  Every missing symbol then belongs to
that MPU and lies after its first sample, so none carries part of a
RAP or of the FT=0 or FT=1 data unit that governs one.  The block
is non-keyframe-bearing.</t>
</li>
<li><t>Next MPU.  The upper DU header's MPU sequence number is the lower
DU header's plus one, modulo 2^32.  The start of the upper
header's MPU then lies between the two headers.  The block is
non-keyframe-bearing if the lower side is clear and the receiver
holds the start of the upper header's MPU whole.  Otherwise it is
keyframe-bearing.  Where the upper DU header begins the first
sample of its MPU, that is, it carries <tt>offset</tt> zero and its packet
sets <tt>RAP_flag</tt>, the FT=0 and FT=1 packets of that start are
enough: every other packet of the sample follows the header, so
none is a missing symbol of this block.</t>
</li>
<li><t>More than one MPU apart.  The two MPU sequence numbers differ in
any other way.  A whole MPU can then lie between the two headers,
its RAP with it.  The block is keyframe-bearing.</t>
</li>
<li><t>No header on one side.  The receiver holds no lower or no upper DU
header.  The block is of unknown class.</t>
</li>
</ol>
<t>A block whose two DU headers carry the same MPU sequence number, and
whose lower side is not clear, is keyframe-bearing: its missing
symbols can carry part of the first sample of that MPU.  A receiver
MUST treat a block of unknown class as keyframe-bearing.  A block of
unknown class takes its class from items 1 to 3 once the receiver
holds the header that it lacked, also after the block's FEC deadline,
and the receiver treats it by that class from then on.  A repair that
it already requested for the block stands as requested.</t>
<t>The rule compares fields that every packet of the track already
carries.  Its four items read no decode time and need no knowledge of
the samples that follow a loss, so it holds for any frame structure:
a chain of
frames each predicted from the one before, reordered frames, or
layers.  Its cost is that the class of a loss at the end of what the
receiver holds is known only when the next DU header arrives.</t>
<t>The rule rests on two things that a publisher keeps: exactly one RAP
in a video MPU (<xref target="MOQ-MMT"></xref> Section 5.3.4), and an MPU sequence number
that is never used twice on a track (<xref target="MOQ-MMT"></xref> Section 4.3).  A
publisher of an earlier revision of <xref target="MOQ-MMT"></xref> could place further
RAPs in an MPU, and no packet names the revision.  A receiver
MUST NOT apply items 1 and 2 to a track unless its catalog carries a
keyframe interval that is equal to the track's group duration
(<xref target="MOQ-MMT"></xref> Section 4.4.3).  It MUST NOT apply them to a track once
it has found on that track either of two things:</t>

<ul>
<li><t>a RAP that is not the first sample of its MPU; or</t>
</li>
<li><t>an MPU that lasts longer than the keyframe interval, that is, an MPU
one of whose samples has an authored decode time (<xref target="MOQ-MMT"></xref>
Section 5.1) one keyframe interval or more after that of its first
sample.</t>
</li>
</ul>
<t>A track of an earlier revision whose keyframe interval equals its
group duration can hold a further RAP only in an MPU of the second
kind.  A receiver that applies items 1 and 2 MUST look for the second
before it classes a block, among the samples whose decode times it
can determine, those of the block's two DU headers included.  This is
the only use of a decode time in this section.  It decides whether
the rule applies to the track, never the class of a block.  Once the
receiver has found either thing, every block that item 1 or item 2
classed, or would class, is of unknown class.</t>
<t>The second check reaches only the samples whose decode times the
receiver can determine.  Until it has found such an MPU, for example
where the FT=1 packet that times the upper DU header's sample was
lost, a receiver can class as non-keyframe-bearing a block whose
missing symbols carry a further RAP of a track of an earlier revision.
It then requests that repair at the lower priority and does not stall
video for it.  The cost is bounded.  Such a track carries no statement
of <xref target="MOQ-MMT"></xref> Section 5.3.4, so concealment runs to the next RAP that
the receiver holds (<xref target="other-video-blocks"></xref>).  A track of this revision
holds no further RAP, so the case does not arise on it.</t>
<t>A track to which items 1 and 2 do not apply gets no
non-keyframe-bearing block from this section.  Each loss on it is
treated as one that may hold a RAP: its repair is requested at
keyframe priority, video may stall for it, and where the repair fails
video does not resume before the next RAP
(<xref target="keyframe-bearing-blocks"></xref>).  The statements of
<xref target="MOQ-MMT"></xref> Section 5.3.4 cannot end concealment earlier on such a
track.  This is the case of a track with no keyframe interval, of a
track whose keyframes are not one group duration apart, for example
one that moves a keyframe to a scene cut, and of a track of an earlier
revision whose keyframe interval is shorter than its group duration.</t>
<t>The same four items class a run of packets that a receiver lacks on
any datagram leg (<xref target="MOQ-MMT"></xref> Section 6.1, step 6), read with the last
DU header that it holds before the run and the first that it holds
after it.</t>
<t>In particular:</t>

<ul>
<li><t>A block discarded before its FEC deadline under a memory cap
(<xref target="deadline-anchoring-and-discard"></xref>) is of unknown class.</t>
</li>
<li><t>A block's keyframe classification uses its actual source-packet
range.  A block MAY contain a complete Group, span a Group boundary,
or close inside a Group; none of those shapes is inferred from
<tt>interleaveDepthMs</tt> or from the catalog's group duration.</t>
</li>
</ul>
<t>A receiver MUST NOT classify a block from any input other than those
this section names; in particular, the absence of <tt>RAP_flag</tt> on the
packets it holds says nothing about a packet that was lost.  A
publisher that wants receivers to be able to apply the non-keyframe
treatment of <xref target="other-video-blocks"></xref> begins an MPU at every RAP, one
every group duration, and publishes a keyframe interval equal to that
duration (<xref target="MOQ-MMT"></xref> Sections 5.3.4 and 4.4.3).  It states nothing
else, and nothing about later samples.</t>
<t>The blocks of a track that the catalog identifies as audio are
treated by <xref target="audio-blocks"></xref>, not classified by this section.  A track
that the receiver cannot identify from its catalog entry is treated as
video.</t>
</section>

<section anchor="keyframe-bearing-blocks"><name>Keyframe-Bearing Blocks</name>
<t>When a keyframe-bearing block is still unrecovered at its FEC
deadline, a receiver that holds a MoQ session with a relay serving the
block's repair track MUST request on-demand unicast repair for it,
with the priority of <xref target="unicast-repair-budget"></xref>, unless the repair is
already moot (<xref target="moot-keyframe-repair"></xref>); within a consumer that the
bc-provenance profile of <xref target="MOQ-MULTICAST"></xref> Section
7.2 governs for
its blocks (<xref target="provisional-blocks"></xref>), a block only symbols of an
unlisted track
(<xref target="provisional-blocks"></xref>) have delimited reaches no deadline and is
never
requested, the SS_IDs it covers that the receiver lacks being runs
of this section (step 2 of <xref target="MOQ-MULTICAST"></xref> Section
7.2.7).  The
request is a FETCH
<xref target="I-D.ietf-moq-transport"></xref>, over QUIC, of the block's
repair-track group, whose Group ID is the block's extended SS_Start,
or, for a run that the receiver has not delimited, of the Group range
that Section 7.7 of
<xref target="MOQ-FEC-CORE"></xref> derives from a lost SS_ID x of the run.  The receiver
sends it on layer 0, and on further layers in layer order where it
needs more symbols than layer 0 carries (Sections
7.3.1 and 7.4 of
<xref target="MOQ-FEC-CORE"></xref>).
Section 7.7 of
<xref target="MOQ-FEC-CORE"></xref> gives the LOCATION_FILTER of either form, and the
receiver
establishes the wrap epoch as Section
7.6 of <xref target="MOQ-FEC-CORE"></xref>
specifies, for instance by a
TRACK_STATUS request when it has received no repair-track Group ID
over MoQ.  The FETCH of a
single group MAY be limited to the object range that covers the
block's shortfall.  The repair symbols it returns are deduplicated
against the symbols already held by (SS_Start, RS_ID) (Section
5.5 of <xref target="MOQ-FEC-CORE"></xref>)
and fed to the same decoder; their SS_Start and SSB_length also
delimit a block the receiver had not delimited (Section
5.4 of <xref target="MOQ-FEC-CORE"></xref>).  The
receiver MUST NOT delay this request behind any non-keyframe or audio
repair; <xref target="relationship-to-the-keyframe-overlay"></xref> covers its interplay
with a keyframe overlay.
A FETCH completes or fails by MoQ Transport events, its last object
or an error; a receiver MUST NOT declare it failed on a locally chosen
timeout.  A relay answers it from its cache where it holds the repair
track's objects, datagram-delivered ones included (Section
12 of <xref target="MOQ-FEC-CORE"></xref>), and
otherwise fetches them upstream (<xref target="I-D.ietf-moq-transport"></xref> Section
3.2.3).  A FETCH for a group that neither the relay nor any publisher
upstream of it still holds fails by those events or returns none of
the group's objects (Section
6.2 of <xref target="MOQ-MULTICAST"></xref>).</t>
<t>Only a keyframe-bearing block may stall video.  While its unicast
repair is outstanding, the receiver MAY hold video presentation for
it.  The block is unrecoverable when its unicast repair fails or
completes without recovering it, or when the receiver holds no MoQ
session through which to request it (for example a receiver that
consumes an MMTP stream without a MoQ session, <xref target="MOQ-MULTICAST"></xref>
Section 1.1).
If the data of an unrecoverable block that the receiver could not
recover includes, or may include, any part of a RAP
(<xref target="block-classification"></xref>),
the receiver treats the track as discontinuous, MAY stall video, and
does not resume video before the earlier of these two samples: the
next RAP (<xref target="MOQ-MMT"></xref> Section 6.1, step 6); the first sample whose DU
header, taken as the upper DU header of the MPU rule
(<xref target="block-classification"></xref>), shows by item 1 or item 2 of that rule
that the data it could not recover includes no part of a RAP.  From
such a sample it conceals as <xref target="other-video-blocks"></xref> specifies.
Otherwise, as when it holds or has recovered every part of
the block's RAPs (including through a keyframe overlay,
<xref target="relationship-to-the-keyframe-overlay"></xref>), it conceals the block's
remaining loss as for a
non-keyframe block (<xref target="other-video-blocks"></xref>).</t>

<section anchor="moot-keyframe-repair"><name>Moot Keyframe Repair</name>
<t>A keyframe repair is moot when both of the following hold:</t>

<ol>
<li><t>The receiver holds a RAP the receiver has already admitted complete
that lies above the block, that is, after the last SS_ID the block
covers.</t>
</li>
<li><t>The repair cannot arrive by the block's playout deadline.  The
playout deadline is the later of the block's FEC deadline and the
presentation time of the earliest media the block would repair.  It
does not include any time for which the receiver holds video
presentation for the repair (<xref target="keyframe-bearing-blocks"></xref>): a repair
that arrives by the playout deadline holds nothing, and a repair
that arrives only within such a hold stalls video for media the
receiver no longer needs.  The repair cannot arrive by the playout
deadline when either the current time is not earlier than it, or
t_sent + RTT is not earlier than it, where RTT is the receiver's current
round-trip time estimate for the QUIC
connection that carries or would carry the FETCH (for instance the
smoothed_rtt of <xref target="RFC9002"></xref> Section 5.3), and t_sent is the time the
receiver sent the FETCH or, for a repair not yet requested, the
current time.  A FETCH already sent is judged by the time it was
sent, not by the time the RAP completes.  A receiver that has no
round-trip time estimate for that connection treats the repair as
unable to arrive by the playout deadline.</t>
</li>
</ol>
<t>When a repair becomes moot, the receiver resumes from that RAP and
SHOULD cancel the FETCH; a block whose repair is moot when it reaches
its FEC deadline is not requested at all.  A repair that is not moot
is requested and kept whatever RAP the receiver admits complete after
it: while its playout deadline has not passed, the media it recovers is
presented by that deadline.  Once the deadline has passed,
a newer RAP the receiver has admitted complete makes an outstanding
repair moot and the receiver SHOULD cancel it.</t>
</section>
</section>

<section anchor="other-video-blocks"><name>Other Video Blocks</name>
<t>For a non-keyframe-bearing block of a video track, in-band FEC remains
the primary repair.  A receiver MAY also request unicast repair for
it, in the form of <xref target="keyframe-bearing-blocks"></xref>, but only on the terms
of
<xref target="unicast-repair-budget"></xref>: never ahead of or concurrently with keyframe
repair,
and only within the budget that keyframe repair leaves unspent.</t>
<t>When such a block is unrecovered -- at its FEC deadline without
unicast repair, or when its unicast repair has not completed by the
presentation time of the first media it would repair -- the receiver
MUST NOT stall.  It conceals the affected frames and every frame that
depends on them, and keeps presentation and audio/video
synchronization running, as the list below specifies.  Where the
publisher states what each sample needs (<xref target="MOQ-MMT"></xref> Section 5.3.4), a
later frame depends on a lost frame when its anchor was lost or was
itself concealed.  A frame that states nothing depends on every frame
since the latest RAP, so without statements every frame up to the
next RAP is concealed.</t>

<ul>
<li><t>Concealment fills the presentation interval of the frames it
replaces and ends at the authored presentation time of the next
frame the receiver presents.  The receiver MUST NOT drop later
frames to absorb the loss.  Withholding a frame that depends on a
lost frame is concealment, not such a drop.  The receiver derives no
timing for the frames it replaces (<xref target="MOQ-MMT"></xref> Section
5.1).</t>
</li>
<li><t>The concealment method is an implementation choice: for example
holding or replaying the last presented frame, or presenting decoder
output in which missing reference data is filled (commonly visible
as a solid or green fill).  The receiver MUST NOT submit to the
decoder a sample that the packaging's reassembly rules have
invalidated (<xref target="MOQ-MMT"></xref> Section
5.2).  A receiver MUST NOT submit to a decoder a frame that depends
on a lost frame, unless it knows that the decoder produces output
from a sample with a missing reference.  Which decoders do is local
knowledge of the receiver.  No field of the stream states it.  A
receiver whose decoder reports an error on a frame that the
statements showed to depend on no lost frame SHOULD read no further
statement of that track, and conceals until the next RAP.</t>
</li>
<li><t>Concealment ends at the first frame that depends on no lost frame,
and the receiver resumes decoding from it.  That frame is the next
RAP unless the publisher's statements show an earlier one.  A
receiver MAY conceal until the next RAP.</t>
</li>
</ul>
</section>

<section anchor="audio-blocks"><name>Audio Blocks</name>
<t>In-band FEC applies to the blocks of an audio track as to every block,
and a receiver MAY
request unicast repair for an audio block on the same best-effort
terms as for a non-keyframe video block (<xref target="unicast-repair-budget"></xref>).
<tt>RAP_flag</tt>
on an audio packet does not make its block keyframe-bearing; that
class applies to video tracks only.</t>
<t>When an audio block is unrecovered, the receiver MUST conceal the lost
audio, for example with silence or packet-loss concealment, from the
end of the last audio it presented to the authored presentation time
of the next audio it presents, and MUST keep the audio clock advancing
through the loss.  It MUST NOT stall audio presentation waiting for a
repair that has not completed by the presentation time of the lost
audio.</t>
</section>

<section anchor="unicast-repair-budget"><name>Unicast Repair Budget and Priority</name>
<t>A receiver's unicast repair budget is derived from the catalog, not
from a receiver-local rate or byte constant.  It is kept per MoQ
session and counted in bytes of repair symbol data, a repair symbol of
a track counting as that track's <tt>symbolSize</tt> T (Section
10.1 of <xref target="MOQ-FEC-CORE"></xref>).</t>

<ul>
<li><t>A block of a video source track that carries, or may carry, the
start of an MPU credits the budget with P_t x T bytes when it
reaches its FEC deadline, where P_t is the total repair count of
its base instance, the sum of P_i over its published layers (Section
7.3.1 of <xref target="MOQ-FEC-CORE"></xref>), and T is its
track's <tt>symbolSize</tt>.  The start of an MPU is its FT=0 data unit,
the FT=1 data unit sent before its first sample, and that sample.
The credit goes by what the block carries, whether or not the
receiver lacks any of it: a block that arrives whole credits the
budget as one with losses does.  A block carries the start of an MPU
when a source packet that the receiver holds from it is an FT=0
packet or sets <tt>RAP_flag</tt>, or when two source packets that the
receiver holds from it carry different MPU sequence numbers.  A
block may carry one when <xref target="block-classification"></xref> classes it as
keyframe-bearing or of unknown class.</t>
</li>
<li><t>A credit expires when the next block of the same source track that
credits the budget reaches its FEC deadline, so unspent budget never
accumulates beyond one block's credit per source track.</t>
</li>
<li><t>Every unicast repair FETCH debits the budget with the repair symbol
bytes it requests.  A FETCH of a Group range (Section
7.7 of <xref target="MOQ-FEC-CORE"></xref>)
requests
every Group that starts in the range, a number the receiver learns
only from the response, and is debited with the repair symbol bytes
of every Group it returns.</t>
</li>
</ul>

<ol>
<li><t>A receiver does not withhold a keyframe-bearing block's repair for
lack of credit.  For a block that it has delimited, it requests at
most one repair-track Group per base repair layer, that is at most
the P_t x T bytes that the block itself credits.  For a run of
blocks that it has not delimited, it issues the one Group range
FETCH of Section 7.7 of
<xref target="MOQ-FEC-CORE"></xref> per base repair layer.  Each Group that FETCH
returns is the repair of one block of the run, and every block
holds at least one SS_ID of a range that spans at most K SS_IDs
(that section), so these FETCHes cost at most K x P_t x T bytes in
all, which can exceed the credit.  A debit that exceeds the remaining credit exhausts it:
the budget never falls below zero, and no deficit carries over to a
later credit.  A receiver MUST NOT have more than one repair FETCH
outstanding for the same block and repair layer.</t>
</li>
<li><t>Non-keyframe and audio repair MAY spend only unexpired credit that
keyframe repair left unspent, and a receiver MUST NOT issue
a non-keyframe or audio repair FETCH that the remaining credit does
not cover.  Because the cost of a Group range FETCH is not known
before it is issued, a receiver MUST NOT request non-keyframe or
audio repair by a Group range.</t>
</li>
<li><t>A receiver MUST NOT issue a non-keyframe or audio repair FETCH
while a keyframe repair FETCH is outstanding on the same session,
and SHOULD cancel its outstanding non-keyframe and audio repair
FETCHes when it requests the repair of a keyframe-bearing block
that reaches its FEC deadline unrecovered; a block whose repair
<xref target="keyframe-bearing-blocks"></xref> does not request cancels nothing.</t>
</li>
</ol>
<t>Priorities follow the ranges of Section
11 of <xref target="MOQ-FEC-CORE"></xref>.  A keyframe
repair FETCH
MUST carry a SUBSCRIBER_PRIORITY (<xref target="I-D.ietf-moq-transport"></xref>
Section 9.19.7) in the source track range, numerically at most 191.
It MUST also be numerically no greater than the SUBSCRIBER_PRIORITY of
the receiver's subscription to the source track, where the receiver
holds one on the session, and numerically lower than the
SUBSCRIBER_PRIORITY of every repair-track subscription that the
receiver holds on the session.  Subscriber priority is compared first
(<xref target="I-D.ietf-moq-transport"></xref> Section 5.1.2), so the FETCH is then
delivered ahead of the receiver's repair tracks and is not shed with
repair data under congestion.  A
non-keyframe or audio repair FETCH MUST carry a SUBSCRIBER_PRIORITY
numerically no lower than the Publisher Priority of the repair track
it fetches (<xref target="MOQ-FEC-CORE"></xref> Section 11),
and so at least 192, so that it is shed first.</t>
</section>

<section anchor="relationship-to-the-keyframe-overlay"><name>Relationship to the Keyframe Overlay</name>
<t>The keyframe overlay of Section 7.4 of
<xref target="MOQ-MMT"></xref>, an overlapping instance in the sense of Section
8.4 of <xref target="MOQ-FEC-CORE"></xref>, and this policy
are
complementary.  The overlay is publisher-side and proactive: it
protects RAP fragments and the FT=0 and FT=1 data units that govern
them across a block of its own, needs no return
path, and so also serves sessionless receivers.  This policy is
receiver-side and reactive: it spends unicast repair only on
keyframe-bearing blocks that in-band FEC actually failed to recover,
and it needs a MoQ session.  A receiver that holds both:</t>

<ul>
<li><t>classifies blocks by <xref target="block-classification"></xref> whether or not it holds
the
overlay;</t>
</li>
<li><t>MUST NOT defer the unicast repair of a keyframe-bearing block to
wait for overlay recovery, whose latency is the overlay's own block
span (Section 7.4 of <xref target="MOQ-MMT"></xref>), not the base
deadline;</t>
</li>
<li><t>ends its wait for a RAP once it holds every part of it, the RAP's
fragments and the FT=0 and FT=1 data units that govern it,
whichever of base decoding, overlay decoding, or unicast repair
supplies each part; and</t>
</li>
<li><t>once it holds every part of a block's RAPs, the overlay having
recovered one or more of them, conceals the rest of that block's
loss as for a non-keyframe block (<xref target="other-video-blocks"></xref>) and SHOULD
cancel any outstanding keyframe repair FETCH for it.  The overlay's
members include the FT=0 and FT=1 data units that govern each RAP it
covers (Section 7.4.2 of <xref target="MOQ-MMT"></xref>), so it can recover a lost FT=0
or FT=1 data unit that governs such a RAP as it recovers the RAP's
fragments.</t>
</li>
</ul>
</section>
</section>

<section anchor="security-considerations"><name>Security Considerations</name>
<t>The security considerations of <xref target="MOQ-FEC-CORE"></xref> and of
<xref target="MOQ-MULTICAST"></xref> apply.  Join authorization for repair-layer
endpoints and the amplification exposure of layers are covered in
<xref target="repair-only-endpoints"></xref>.</t>
<t>When FEC is used over multicast (SSM/AMT), which carries only mmtp
tracks under <tt>iso-ssbg1-v1</tt> (<xref target="MOQ-MULTICAST"></xref> Section
4.1; <xref target="symbol-tracks-on-multicast"></xref>),
additional considerations
apply:</t>

<ol>
<li><t><strong>No QUIC Protection</strong>: Multicast UDP has neither the
confidentiality nor the integrity of QUIC.  A publisher that needs
confidentiality SHOULD encrypt the media samples, for example with
Common Encryption <xref target="ISO.23001-7"></xref> and its 'cbcs' scheme, as
<xref target="MOQ-MMT"></xref> Section 14 describes for
mmtp tracks.  All receivers of
the flow share the content keys, which reach each receiver over its
unicast MoQ session or from a Digital Rights Management (DRM)
system.  Sample encryption leaves
the MMTP headers and the Source FEC Payload ID in the clear and
leaves every packet identical across paths, so FEC encodes the
ciphertext (Section 14.1 of <xref target="MOQ-FEC-CORE"></xref>)
and symbols still combine across paths
(Section 5.5 of <xref target="MOQ-FEC-CORE"></xref>).
Encrypting each MoQ object payload instead, as MoQ
Secure Objects <xref target="I-D.ietf-moq-secure-objects"></xref> does, would make the
MoQ copy of a packet differ from its multicast copy.  A keying
handshake per receiver, such as DTLS-SRTP, needs a return path and
cannot key a one-to-many flow.  A key that every receiver holds does
not authenticate the publisher; item 3 covers authentication.</t>
</li>
<li><t><strong>Repair Injection</strong>: Attackers could inject malicious repair
symbols on multicast networks.  The bc-provenance profile of items
3 and 5 is the mitigation: a receiver that enforces it admits a
symbol only when its digest is in a verified manifest, so an
injected symbol never enters a decode; a receiver that does not
enforce it has, beyond the container parsing of its media pipeline,
only the block-level checksum of item 4 where it implements one.</t>
</li>
<li><t><strong>Source Authentication</strong>: SSM limits which sources reach a
receiver (<xref target="MOQ-MULTICAST"></xref> Section
7.1), and version 2 of the
bc-provenance profile (<xref target="MOQ-MULTICAST"></xref> Section
7.2) authenticates
the datagrams themselves, repair symbols included, with a digest
that covers the whole UDP payload, the Source FEC Payload ID
included (Section 7.2 of <xref target="MOQ-MMT"></xref>).</t>
</li>
<li><t><strong>Block Integrity</strong>: Receivers MAY implement block-level checksums
to detect corrupted recovery.  A block whose decoded source data
fails such a check, or, within a consumer that the bc-provenance
profile of <xref target="MOQ-MULTICAST"></xref> Section
7.2 governs for its blocks
(<xref target="provisional-blocks"></xref>), whose recovered packets step 2 of its
Section 7.2.7
does not admit, is unrecovered: <xref target="receiver-repair-policy"></xref> governs
it from its
FEC deadline, and the receiver requests unicast repair for it only
as that section directs, never by the multicast-to-unicast
failover of <xref target="MOQ-MULTICAST"></xref>, which replaces the multicast path.</t>
</li>
<li><t><strong>Repair Policy Inputs</strong>: The in-band evidence that
<xref target="block-classification"></xref>
classifies blocks from, and the SSB_length by which Section
5.4 of <xref target="MOQ-FEC-CORE"></xref>
completes a short block, are unauthenticated on bare multicast.
An injected packet that marks a block keyframe-bearing costs at
most the unicast repair that block's own credit covers
(<xref target="unicast-repair-budget"></xref>).  An injected source packet inside a
block's gap
can instead narrow the bounds of <xref target="block-classification"></xref> until a
keyframe-bearing block is classified otherwise, and an injected
repair packet carrying a false SS_Start or SSB_length, accepted
before the genuine ones, can mis-delimit a block, mark it complete
early, or cause its genuine repair packets to be discarded as
inconsistent (Section 5.4 of
<xref target="MOQ-FEC-CORE"></xref>).  An injected source packet can also carry a
false statement of what a sample needs (<xref target="MOQ-MMT"></xref> Section 5.3.4),
which leads a receiver to give a decoder a frame whose reference
is missing (<xref target="other-video-blocks"></xref>).  An injected packet that shows
a RAP after the first sample of an MPU, or an MPU that lasts longer
than the keyframe interval, ends the use of items 1 and 2 of
<xref target="block-classification"></xref> for that track at that receiver.  Each
later block of the track that stays unrecovered is then treated as
keyframe-bearing: it costs the repair that its own credit covers,
and video may stall for it.  The finding belongs to the track.  A
new track, such as the one that a publisher starts under
<xref target="MOQ-MMT"></xref> Section 4.4.1 when it cannot continue its numbering,
begins without it.  A change of the catalog does not end it,
because it does not refute what the receiver saw.  Where a receiver
verifies an integrity mechanism of the kind named next before it
reads a packet, an injected packet cannot produce either finding.
Deployments
exposed to injection SHOULD authenticate source and repair packets
with an integrity mechanism whose coverage includes the complete
packet, the Source FEC Payload ID and the Repair FEC Payload ID
included (Section 7.2 of <xref target="MOQ-MMT"></xref>).
Version 2 of the bc-provenance profile
(<xref target="MOQ-MULTICAST"></xref> Section 7.2) is
such a mechanism: its digest
covers the whole UDP payload of source and repair packets, both
Payload IDs included.</t>
</li>
</ol>
</section>

<section anchor="iana-considerations"><name>IANA Considerations</name>
<t>This document has no IANA actions.</t>
</section>

</middle>

<back>
<references><name>References</name>
<references><name>Normative References</name>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-moq-transport.xml"/>
<reference anchor="ISO.23008-1" target="">
  <front>
    <title>Information technology - High efficiency coding and media delivery in heterogeneous environments - Part 1: MPEG media transport (MMT)</title>
    <author>
      <organization>ISO/IEC</organization>
    </author>
    <date year="2023"></date>
  </front>
  <seriesInfo name="ISO/IEC" value="23008-1:2023"></seriesInfo>
</reference>
<reference anchor="MOQ-FEC-BLOCK" target="">
  <front>
    <title>Block FEC Schemes for Media over QUIC: Reed-Solomon and RaptorQ</title>
    <author fullname="Omar Ramadan" initials="O." surname="Ramadan">
      <organization>Blockcast</organization>
    </author>
    <date year="2026" month="November" day="20"></date>
  </front>
  <seriesInfo name="Internet-Draft" value="draft-ramadan-moq-fec-block-codes-01"></seriesInfo>
</reference>
<reference anchor="MOQ-FEC-CATALOG" target="">
  <front>
    <title>Catalog Binding for Forward Error Correction in Media over QUIC</title>
    <author fullname="Omar Ramadan" initials="O." surname="Ramadan">
      <organization>Blockcast</organization>
    </author>
    <date year="2026" month="November" day="20"></date>
  </front>
  <seriesInfo name="Internet-Draft" value="draft-ramadan-moq-fec-catalog-01"></seriesInfo>
</reference>
<reference anchor="MOQ-FEC-CORE" target="">
  <front>
    <title>Forward Error Correction for Media over QUIC: Core Mechanism</title>
    <author fullname="Omar Ramadan" initials="O." surname="Ramadan">
      <organization>Blockcast</organization>
    </author>
    <author fullname="Marc E. Fiuczynski" initials="M. E." surname="Fiuczynski">
      <organization>Rutgers University</organization>
    </author>
    <date year="2026" month="November" day="20"></date>
  </front>
  <seriesInfo name="Internet-Draft" value="draft-ramadan-moq-fec-core-01"></seriesInfo>
</reference>
<reference anchor="MOQ-MMT" target="">
  <front>
    <title>MPEG Media Transport (MMT) Packaging for Media over QUIC</title>
    <author fullname="Omar Ramadan" initials="O." surname="Ramadan">
      <organization>Blockcast</organization>
    </author>
    <date year="2026" month="November" day="20"></date>
  </front>
  <seriesInfo name="Internet-Draft" value="draft-ramadan-moq-mmt-03"></seriesInfo>
</reference>
<reference anchor="MOQ-MULTICAST" target="">
  <front>
    <title>Multicast Delivery and Endpoint Discovery for Media over QUIC</title>
    <author fullname="Omar Ramadan" initials="O." surname="Ramadan">
      <organization>Blockcast</organization>
    </author>
    <date year="2026" month="November" day="20"></date>
  </front>
  <seriesInfo name="Internet-Draft" value="draft-ramadan-moq-multicast-03"></seriesInfo>
</reference>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
</references>
<references><name>Informative References</name>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-moq-secure-objects.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ramadan-moq-fec.xml"/>
<reference anchor="ISO.23001-7" target="">
  <front>
    <title>Information technology - MPEG systems technologies - Part 7: Common encryption in ISO base media file format files</title>
    <author>
      <organization>ISO/IEC</organization>
    </author>
    <date year="2023" month="August"></date>
  </front>
  <seriesInfo name="ISO/IEC" value="23001-7:2023"></seriesInfo>
</reference>
<reference anchor="QUIC-MULTICAST" target="https://datatracker.ietf.org/doc/draft-jholland-quic-multicast/">
  <front>
    <title>Multicast Extension for QUIC</title>
    <author fullname="Jake Holland" initials="J." surname="Holland">
      <organization>Akamai Technologies, Inc.</organization>
    </author>
    <author fullname="Lucas Pardue" initials="L." surname="Pardue"></author>
    <author fullname="Max Franke" initials="M." surname="Franke">
      <organization>TU Berlin</organization>
    </author>
    <author fullname="Kyle Rose" initials="K." surname="Rose">
      <organization>Akamai Technologies, Inc.</organization>
    </author>
    <date year="2026" month="July" day="6"></date>
  </front>
  <seriesInfo name="Internet-Draft" value="draft-jholland-quic-multicast-09"></seriesInfo>
</reference>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.4607.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7450.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8777.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9002.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9706.xml"/>
</references>
</references>

<section anchor="changes-from-00"><name>Changes from draft-ramadan-moq-fec-multicast-00</name>
<t>This appendix is informative.  It lists every sentence that is new or
changed since draft-ramadan-moq-fec-multicast-00.</t>
<t>New sentences:</t>

<ul spacing="compact">
<li><xref target="relation-to-other-documents"></xref>: &quot;Like the core, it defines no
message, parameter or Property of MoQ Transport ([MOQ-FEC-CORE]
Section 1.3).&quot;  A note before the Introduction names the mailing
list and the repository where this document is discussed.</li>
<li><xref target="block-classification"></xref> classes a block by the MPU rule.
<xref target="MOQ-MMT"></xref> Section 5.3.4 now puts exactly one RAP in a video MPU,
its first sample, so the MPU sequence numbers of the DU headers that
a receiver holds on the two sides of a block's missing symbols show
whether those symbols can carry part of a RAP.  The rule has four
items: same MPU, next MPU, more than one MPU apart, and no header on
one side.  It replaces items 1 to 3 of -00.  Item 3 of -00 placed
keyframes inside an MPU from the catalog's keyframe interval and the
decode times of the bounding packets.  The rule reads no decode
time, no <tt>priority</tt> and no <tt>dep_counter</tt>.  Of the catalog it reads
one thing: a receiver applies items 1 and 2 only where the keyframe
interval is equal to the group duration, which states that every
keyframe begins a group and that a group lasts one group duration.
It stops applying them once it has found a RAP that is not the
first sample of its MPU, or an MPU that lasts longer than the
keyframe interval.  The second check is the one use of a decode
time: a track of an earlier revision with equal values can hold a
further RAP only in such an MPU.  A track that does not make the
statement gets no non-keyframe-bearing block, so each of its losses
is treated as one that may hold a RAP.  -00 treated a track with no
keyframe interval that way.  A track of an earlier revision whose
keyframe interval is shorter than its group duration is now treated
that way too, where item 3 of -00 classed its blocks by decode
time.  The rule relies on an MPU sequence number that is never used
twice on a track (<xref target="MOQ-MMT"></xref> Section 4.3).  A block is now
keyframe-bearing by what the symbols that the receiver lacks can
carry; -00 also counted a RAP that the receiver holds.  The budget
of <xref target="unicast-repair-budget"></xref> is still credited by what a block
carries, so a block that arrives whole with the start of an MPU
credits it as before, and that section now says so in its own
words.  A block of
unknown class takes its class once the header that it lacked
arrives.  The first paragraph of the
section names the MPU-mode payload header and the DU header among
the fields read, where -00 named the overlay header extension.</li>
<li>In <xref target="keyframe-bearing-blocks"></xref>, a receiver that could not recover a
block whose loss may include part of a RAP no longer waits for the
next RAP in every case.  It resumes at the first sample whose DU
header shows, by the MPU rule, that the loss includes no part of a
RAP, where that sample comes first.</li>
<li>In <xref target="other-video-blocks"></xref>, concealment no longer runs to the next
RAP in every case.  It ends at the first frame that depends on no
lost frame, which the per-sample statements of <xref target="MOQ-MMT"></xref>
Section 5.3.4 can show to come before the next RAP.  A frame that
depends on a lost frame is withheld from a decoder that is not known
to produce output from a sample with a missing reference.  A
receiver that conceals until the next RAP still conforms.</li>
<li>In <xref target="security-considerations"></xref>, item 5 adds that an injected source
packet can carry a false statement of what a sample needs, and that
one can end the use of items 1 and 2 of <xref target="block-classification"></xref> for
a track.</li>
<li><xref target="moot-keyframe-repair"></xref> is new.  In -00, and in -01 of
<xref target="I-D.ramadan-moq-fec"></xref> Section 11.4.2, a keyframe repair was moot
once a newer RAP had been admitted complete.  It is now moot only when, in
addition, it cannot arrive by the block's playout deadline, which
the section defines without the time a receiver may hold video for
the repair; a FETCH already sent is judged by its send time plus the
round-trip time estimate until the deadline passes, and by the
current time thereafter; a receiver without an estimate treats the
repair as unable to arrive by the playout deadline.  The rule as written in -00 cancelled repairs
that would have arrived before their media was due, giving up that
media while stalling nothing.  The first paragraph of
<xref target="keyframe-bearing-blocks"></xref> points to the new section instead of
restating the rule.</li>
<li><xref target="keyframe-bearing-blocks"></xref> no longer says that the FETCH fails at a
relay that does not cache the repair track's objects.  Such a relay
fetches them upstream (<xref target="I-D.ietf-moq-transport"></xref> Section 3.2.3),
as Section
6.2 of <xref target="MOQ-MULTICAST"></xref> already said, so a relay's lack of a
cache does not by itself fail the FETCH.  The
sentence in -00 came from -01 of <xref target="I-D.ramadan-moq-fec"></xref> Section
11.4.2 and contradicted both.</li>
<li><xref target="deadline-anchoring-and-discard"></xref> adds that, under the
bc-provenance profile, a publisher is recommended to include in
<tt>reorderToleranceMs</tt> the time for which a sender holds a datagram
until its window closes and a receiver holds one whose record it
lost until the record's twin arrives.</li>
<li>In <xref target="repair-only-endpoints"></xref>, three new last paragraphs on the repair
track of a keyframe overlay.  The track is not a layer of the base
instance, but the section's rules for adding and dropping a repair
layer apply to it: the join on measured loss, the capacity check,
make-before-break, the hysteresis and the fixed selection without a
block deadline.  For the track they read the overlay instance's
blocks, <tt>interleaveDepthMs</tt> and <tt>reorderToleranceMs</tt>, and for a
repair layer the base instance's.  A receiver that does not hold the
track measures the overlay's loss as the RAP packets it lacks that
base decoding has not recovered, a measure that can lag a loss by
up to one interval between covered keyframes.  On a multicast or AMT
leg, a
receiver of an overlay whose instance omits <tt>interleaveDepthMs</tt> or
sets it to zero keeps fixed whether it holds the track; a positive
one, which <xref target="MOQ-MMT"></xref> Section 7.4.1 recommends, lets those
receivers add and drop it.  A receiver joins or
leaves an endpoint that carries both the track and a repair layer
of the base instance only when the rules for each allow it.  Every
rule of the paragraph on amplification applies to the track as to a
repair layer, and the bound on the layers a receiver may hold counts
it.  -00 stated these rules for repair layers and said in
<xref target="conventions-and-definitions"></xref> that an overlay is not one, which
left open whether they govern the overlay's repair track.  Its join
rule already covered a repair-only endpoint that carries only that
track; the other rules are new for the track.</li>
<li>In <xref target="changes-from-draft-ramadan-moq-fec-01"></xref>, the sentence &quot;In it,
-01 means draft-ramadan-moq-fec-01, not a revision of this
document.&quot;</li>
</ul>
<t>Changed sentences:</t>

<ul spacing="compact">
<li>In <xref target="moot-keyframe-repair"></xref>, the time a FETCH was sent is named
t_sent, since T is the symbol size elsewhere in this document.  In
<xref target="deployment-applicability"></xref>, &quot;is NOT a duplicate&quot; reads &quot;is not a
duplicate&quot;.</li>
<li>In <xref target="conventions-and-definitions"></xref>, the Keyframe Overlay's source
symbols are &quot;only the fragments of Random Access Points and the FT=0
and FT=1 data units that govern them&quot;, where -00 had &quot;only the
fragments of Random Access Points&quot;: <xref target="MOQ-MMT"></xref> Section 7.4.2 now
makes those data units members of the overlay.</li>
<li>In <xref target="relationship-to-the-keyframe-overlay"></xref>, the overlay &quot;protects RAP
fragments and the FT=0 and FT=1 data units that govern them across a
block of its own&quot; (-00: &quot;protects RAP fragments across a block of its
own&quot;); a receiver ends its wait for a RAP once it holds every part of
it, whichever of base decoding, overlay decoding, or unicast repair
supplies each part, where -00 ended it when one of them supplied the
RAP's fragments; and the bullet on concealment and on cancelling the
keyframe repair FETCH applies once the receiver holds every part of a
block's RAPs, the overlay having recovered one or more of them, where
-00 applied it after an overlay recovery of the RAP MFU fragments with
the FT=0 and FT=1 data units held.  &quot;The overlay covers only packets
that set RAP_flag (Section 7.4 of [MOQ-MMT]), so it does not by
itself recover a lost FT=0 or FT=1 data unit.&quot; now reads &quot;The
overlay's members include the FT=0 and FT=1 data units that govern
each RAP it covers (Section 7.4.2 of [MOQ-MMT]), so it can recover a
lost FT=0 or FT=1 data unit that governs such a RAP as it recovers
the RAP's fragments.&quot;</li>
<li>In <xref target="changes-from-draft-ramadan-moq-fec-01"></xref>, &quot;is restated by this
section's last paragraph and by <xref target="receiver-repair-policy"></xref>&quot; now reads
&quot;is restated by this section's paragraph on the block deadline and
by <xref target="receiver-repair-policy"></xref>&quot;.  The last paragraph of that section
was the one on amplification in -00 and is one on the overlay now.</li>
<li>In <xref target="multicast-and-amt-delivery"></xref>, &quot;the same
MoQ objects (source and repair)&quot; now reads &quot;the same MMTP packets
(source and repair)&quot;, &quot;Receivers on reliable unicast paths&quot; now reads
&quot;Receivers that take the track on QUIC streams&quot;, and the new sentence
&quot;Receivers that take its &quot;mfu-datagram&quot; track, which carries the
same source packets as unicast datagrams under FEC instances and
repair tracks of its own ([MOQ-MMT] Section 4.3.1), use FEC too, and
repair as that section specifies.&quot; follows that sentence.  In
<xref target="receiver-repair-policy"></xref>, the new sentence &quot;A receiver that takes
an mmtp track as MoQ datagrams on a unicast QUIC path ([MOQ-MMT]
Section 4.3.1) has no retransmission either, but its repair serves
it alone, and it requests repair as that section specifies; on a
multicast QUIC channel (<xref target="multicast-quic"></xref>) this section applies as
on any multicast leg.&quot; precedes the sentence whose &quot;a reliable
MoQ/QUIC leg&quot; now reads &quot;a MoQ/QUIC leg that delivers the track on
streams&quot;.  In <xref target="multicast-quic"></xref>, item 1 now says that the QUIC
DATAGRAM frame carries the symbol as an object of an mmtp track sent
as datagrams, or of its repair tracks ([MOQ-MMT] Section 4.3.1).</li>
<li>In <xref target="introduction"></xref>, the five cross-references of the second
paragraph are now in parentheses.  -00 rendered each as a bare
section number after the clause it supports, as in &quot;moves between
them Section 4&quot;.  No word changes.</li>
<li>The references to the companion documents now name
draft-ramadan-moq-fec-core-01, draft-ramadan-moq-fec-block-codes-01,
draft-ramadan-moq-fec-catalog-01, draft-ramadan-moq-mmt-03 and
draft-ramadan-moq-multicast-03.</li>
<li>Citations of other Internet-Drafts follow
draft-ietf-moq-transport-23, draft-ietf-moq-secure-objects-01 and
draft-jholland-quic-multicast-09.  In <xref target="unicast-repair-budget"></xref>, the
SUBSCRIBER_PRIORITY parameter is cited as Section 9.19.7 of MoQ
Transport; it was Section 9.20.7 in draft-ietf-moq-transport-22.  No
other word changes.</li>
<li>&quot;Rendition&quot; now reads &quot;alternate track&quot;.  Tracks that share an
<tt>altGroup</tt> are alternate tracks in draft-ietf-moq-msf-02 (its
Section 5.2.13).  No requirement changes.</li>
</ul>
</section>

<section anchor="changes-from-draft-ramadan-moq-fec-01"><name>Changes from draft-ramadan-moq-fec-01</name>
<t>This appendix is informative.  It lists what this document takes from
<xref target="I-D.ramadan-moq-fec"></xref> and every sentence that is new or changed
rather than carried.  In it, -01 means draft-ramadan-moq-fec-01, not
a revision of this document.</t>
<t>Moved here, by section of this document:</t>

<ul spacing="compact">
<li><xref target="multicast-delivery"></xref>: -01 Section 11 and, as its second paragraph,
the last paragraph of -01 Section 5.2 (control messages cannot
reach multicast or sessionless receivers).</li>
<li><xref target="multicast-and-amt-delivery"></xref>: -01 Section 11.1.</li>
<li><xref target="deployment-applicability"></xref>: -01 Section 11.2, without its last
paragraph (the moq-object-v1 scoping that the core supersedes),
which <xref target="symbol-tracks-on-multicast"></xref> replaces.</li>
<li><xref target="symbol-tracks-on-multicast"></xref>: new.</li>
<li><xref target="multicast-quic"></xref>: -01 Section 11.3.</li>
<li><xref target="repair-only-endpoints"></xref>: -01 Section 6.3.6 and the second and
third paragraphs of -01 Section 14.3 (join authorization for
repair-layer endpoints).  The multicast rule of -01 Section 5.1
(no block classification, no unicast repair and a fixed layer
selection without a positive interleaveDepthMs) is restated by this
section's paragraph on the block deadline and by
<xref target="receiver-repair-policy"></xref>.</li>
<li><xref target="provisional-symbols"></xref>: the bc-provenance clauses of -01 Sections
7.4 (provisional blocks), 6.3.9 (anchoring of the fail-closed layer
check), 7.5 (S_prev) and 9 (ts anchoring, discard policy).</li>
<li><xref target="receiver-repair-policy"></xref> and its subsections: -01 Sections 11.4
to 11.4.6.  The classification of <xref target="block-classification"></xref> and the
end of concealment in <xref target="other-video-blocks"></xref> have changed since;
<xref target="changes-from-00"></xref> says how.</li>
<li><xref target="security-considerations"></xref>: -01 Section 14.4.</li>
<li><xref target="acknowledgements"></xref>: -01 Appendix E.</li>
</ul>
<t>Changed sentences:</t>

<ul spacing="compact">
<li>In <xref target="multicast-and-amt-delivery"></xref>, &quot;A multicast endpoint carries only
mmtp tracks, so a loc or cmaf track under moq-object-v1 reaches
multicast through an mmtp rendition track&quot; now reads &quot;A multicast
endpoint carries only mmtp tracks, so a loc or cmaf track reaches
multicast through an mmtp alternate track&quot; and points at
<xref target="symbol-tracks-on-multicast"></xref>.</li>
<li>In <xref target="multicast-quic"></xref>, &quot;Item 1 assumes iso-ssbg1-v1, under which one
MMTP packet is one source symbol.  This document defines no
multicast carriage for moq-object-v1 (Section 7.6.6).&quot; now reads
&quot;Item 1 assumes iso-ssbg1-v1, under which one MMTP packet is one
source symbol; <xref target="symbol-tracks-on-multicast"></xref> states that this is the
only block profile a multicast endpoint carries in this revision.&quot;</li>
<li>In <xref target="multicast-quic"></xref>, the four occurrences of &quot;this scheme&quot; in the
-01 Section 11.3 text (&quot;below this scheme&quot;, &quot;This scheme can serve&quot;,
&quot;When this scheme is carried&quot;, &quot;A publisher using this scheme&quot;) now
read &quot;this mechanism&quot;, because &quot;scheme&quot; is the core's term for the
FEC code (Section 2 and Section
10.1 of [MOQ-FEC-CORE]).</li>
<li>In <xref target="repair-only-endpoints"></xref>, &quot;Multicast endpoints carry only mmtp
tracks and their repair tracks ([MOQ-MULTICAST] Section 4.1), so
this subsection concerns tracks under iso-ssbg1-v1&quot; now cites
<xref target="symbol-tracks-on-multicast"></xref>, and &quot;the decoder of the source track
that layer depends on&quot; now reads &quot;the decoder of the FEC instance
that layer serves, the one its source and instanceId name&quot;, per the
core's data model.</li>
<li>In <xref target="repair-only-endpoints"></xref>, &quot;An endpoint whose track list contains
only fec-repair tracks is a repair-only endpoint&quot; gains the
parenthesis &quot;(the packaging value of [MOQ-FEC-CATALOG])&quot;.</li>
<li>In <xref target="repair-only-endpoints"></xref>, the two sentences of -01 Section 14.3
on receivers not being made to receive a layer they did not join
now end with a citation of the core's amplification section.</li>
<li>In <xref target="provisional-blocks"></xref>, the -01 sentence that defined the
governed consumer, the unlisted track and the provisional block is
now three paragraphs: the first defines the consumer the profile
governs for its blocks, and &quot;is for this paragraph, Section 9 and
Section 11.4 a consumer outside that profile&quot; now reads &quot;is, for
this section, <xref target="deadline-anchoring-and-discard"></xref> and
<xref target="receiver-repair-policy"></xref>, a consumer outside the profile&quot;; the second defines the unlisted track; the third
states the provisional block.  &quot;the rules of the previous paragraph
then apply among admitted packets&quot; now reads &quot;the fail-closed
consistency rules of [MOQ-FEC-CORE] then apply among admitted
packets&quot;.</li>
<li>In <xref target="unicast-repair-budget"></xref>, the non-keyframe FETCH rule names the
priorities it compares: the FETCH's SUBSCRIBER_PRIORITY against the
Publisher Priority of the repair track it fetches, citing the core.</li>
<li>In <xref target="security-considerations"></xref>, item 2 names the bc-provenance
profile of items 3 and 5 as the mitigation for repair injection, in
place of &quot;checking that decoded data matches expected patterns&quot;.</li>
<li>In <xref target="anchoring-the-layer-check"></xref>, &quot;whether or not that profile
governs it for its blocks (Section 7.4)&quot; now cites
<xref target="provisional-blocks"></xref>.</li>
<li>In <xref target="anchoring-the-layer-check"></xref>, &quot;so that a relay on that path
cannot stop FEC for the source track with one packet&quot; now reads &quot;so
that a relay on that path cannot stop FEC for the instance with one
packet&quot;, per the core's data model.</li>
<li>In <xref target="deadline-anchoring-and-discard"></xref>, the -01 Section 9 sentences
that require a receiver to bound the state it holds for open
blocks by a receiver-local policy (a memory cap, a local timeout,
or a later block past its own deadline), forbid the policy to
discard a block before its FEC deadline or while a unicast repair
FETCH for it is outstanding except under a memory cap, and require
the receiver to keep the policy separate from the catalog values
are replaced by &quot;A receiver bounds the state it holds for open
blocks by the receiver-local policy of Section
9.4 of [MOQ-FEC-CORE], which forbids discarding
a block that has an FEC deadline before that deadline, or while a
FETCH for it is outstanding, the unicast repair FETCH of
<xref target="keyframe-bearing-blocks"></xref> included, except under a memory cap.  A
block so discarded is, under that section, treated from then on as
having reached its FEC deadline unrecovered and, on a track whose
blocks <xref target="block-classification"></xref> classifies, of unknown class.&quot; and
&quot;The policy is not signaled and is kept separate from the
configured values (Section 9.4 and Section
9.3 of [MOQ-FEC-CORE]): it changes
neither <tt>interleaveDepthMs</tt> nor <tt>reorderToleranceMs</tt> nor a deadline
derived from them, and discarding a block under it does not create
an FEC deadline (<xref target="receiver-repair-policy"></xref>).&quot;, because the
requirements themselves are the core's; this document keeps only
their consequences on a multicast or AMT leg.</li>
<li>In <xref target="unicast-repair-budget"></xref>, &quot;where P_t is the total repair count
of its base instance (Section 6.4.1)&quot; now reads &quot;where P_t is the
total repair count of its base instance, the sum of P_i over its
published layers ([MOQ-FEC-CORE])&quot;, and &quot;in the Source Media range&quot;
now reads &quot;in the source track range&quot;, the core's name for the
64-191 range.</li>
<li>In <xref target="relationship-to-the-keyframe-overlay"></xref>, &quot;The keyframe overlay
of Section 6.4 and this policy are complementary&quot; now reads &quot;The
keyframe overlay of [MOQ-MMT], an overlapping instance in the sense
of [MOQ-FEC-CORE], and this policy are complementary&quot;.</li>
<li>In <xref target="security-considerations"></xref>, the preamble &quot;When FEC is used over
multicast (SSM/AMT), which carries only mmtp tracks under
iso-ssbg1-v1 ([MOQ-MULTICAST] Section 4.1), additional
considerations apply&quot; is preceded by two new sentences (below).</li>
<li>In <xref target="acknowledgements"></xref>, &quot;Marc E. Fiuczynski reviewed this revision
and reported how relays and MoQ Transport stacks of the time handle
datagram-delivered repair objects (Sections 7.5, 10 and 11.4.2).&quot;
now reads &quot;Marc E. Fiuczynski reviewed draft-ramadan-moq-fec-01 and
reported how relays and MoQ Transport stacks of the time handle
datagram-delivered repair objects, which shaped the FETCH behavior
of <xref target="keyframe-bearing-blocks"></xref> and the priority rules of
<xref target="unicast-repair-budget"></xref>&quot;.  -01 Sections 7.5 and 10 are now
sections of [MOQ-FEC-CORE].</li>
<li>Every citation of a section of draft-ramadan-moq-fec-01 is
re-pointed at the section of [MOQ-FEC-CORE], [MOQ-FEC-CATALOG] or
[MOQ-MMT] that now holds it, and every intra-document reference at
the section of this document.</li>
</ul>
<t>New sentences:</t>

<ul spacing="compact">
<li>The Abstract, <xref target="introduction"></xref> and <xref target="relation-to-other-documents"></xref>
are new.</li>
<li>In <xref target="conventions-and-definitions"></xref>: the paragraph &quot;The terms below
are used in this document with the meaning that [MOQ-FEC-CORE]
gives them; every other term of that document, and of
[MOQ-MULTICAST], keeps its meaning there.&quot;; the definitions of
Base Instance, FEC Deadline, Multicast Endpoint, and Unlisted Track
and Admitted Packet; the sentence &quot;Layer i may use RS_IDs from its
RS_ID offset O_i, and carries P_i repair symbols per block.&quot; in the
definition of Repair Layer; and the sentence &quot;Under iso-ssbg1-v1 a
source symbol is one FEC source packet, an MMTP packet framed as
[MOQ-MMT] specifies.&quot; in the definition of Source Symbol.  Five
definitions are not copied whole: Repair Track joins the core's
definition to the iso-ssbg1-v1 clauses of -01 Section 2, without
the moq-object-v1 clause, the ISO 3.1.7 and 3.1.9 term citations
and the -01 Section 6.3 and 6.4 pointers, and cites [MOQ-MMT] at
the AL-FEC message, where -01 cited it after &quot;only the catalog
declares&quot;; Keyframe Overlay reads &quot;over an MMTP-packaged source
track&quot;, drops &quot;with its own source symbol count, its own repair
symbols, and its own repair track&quot; and the scope keyframe
declaration, drops the sentence &quot;It is defined only under
iso-ssbg1-v1.&quot;, and cites [MOQ-MMT] in place of -01 Section 6.4;
Interleave Depth drops &quot;the catalog form of protection_window_time
in [ISO.23008-1] Sections 11.2 and C.6.3&quot; and the moq-object-v1
clause; Source Symbol carries only the first sentence of the core's
definition; and SS_Start and SSB_length carries only the first
sentence of -01's.  The other definitions are copied from Section 2
of [MOQ-FEC-CORE] or of draft-ramadan-moq-fec-01.</li>
<li>In <xref target="multicast-delivery"></xref>: &quot;The catalog's authority over FEC
configuration ([MOQ-FEC-CORE]) holds uniformly across a MoQ
receiver's delivery paths, its multicast and AMT legs included.&quot;
(reworded from -01 Section 5.2, which named the catalog fec
object).</li>
<li>In <xref target="deployment-applicability"></xref>: &quot;Which tracks a multicast endpoint
carries in this revision, and so which of the core's carriages
reach a multicast leg, is stated in <xref target="symbol-tracks-on-multicast"></xref>.&quot;</li>
<li><xref target="symbol-tracks-on-multicast"></xref> is new in its entirety, including its
Editor's Note.</li>
<li>In <xref target="repair-only-endpoints"></xref>, after the sentence that forbids a
receiver to use goodput, throughput, or estimated available
bandwidth to decide whether to add or drop a repair layer: &quot;The
capacity check that
[MOQ-FEC-CORE] recommends before a layer is added is the one
exception: it can withhold an add that measured loss calls for, but
it is neither a trigger for adding a layer nor a reason to drop
one.&quot;  The core's receiver selection adds that check, which -01
Section 6.3.5 did not have, and this sentence reconciles the -01
Section 6.3.6 rule with it.</li>
<li>In <xref target="repair-only-endpoints"></xref>, after &quot;keeps its repair-layer
selection for the track fixed&quot;: &quot;This is an exception to the layer
addition that [MOQ-FEC-CORE] recommends when a block fails to
recover: without a signaled span a receiver has only a deadline of
its own, and on a multicast or AMT leg this document does not let it
change layers on that basis.&quot;</li>
<li>In <xref target="provisional-symbols"></xref>: the preamble paragraph, and the first
sentence of each of <xref target="anchoring-the-layer-check"></xref>,
<xref target="admitted-blocks-in-the-fetch-range"></xref> and
<xref target="deadline-anchoring-and-discard"></xref>, which name the core rule that
the carried clause qualifies.</li>
<li>In <xref target="receiver-repair-policy"></xref>: the citation &quot;([MOQ-MULTICAST];
<xref target="symbol-tracks-on-multicast"></xref>)&quot; added to &quot;Multicast and AMT legs
carry only mmtp tracks&quot;, and &quot;and
<xref target="deadline-anchoring-and-discard"></xref>&quot; added to the local-policy
citation.</li>
<li>In <xref target="block-classification"></xref>: the first paragraph, which scopes the
section to tracks under iso-ssbg1-v1, names [MOQ-MMT] for the
fields, and states that the classification is a receiver-side
repair-ordering policy on MMTP packet headers and not instance
membership, so that it does not conflict with the core's rule that
receivers never classify media for FEC membership or for the repair
they take, and that what it decides is only the order and budget of
per-block unicast repair, which the core leaves to the receiver.</li>
<li>In <xref target="security-considerations"></xref>: &quot;The security considerations of
[MOQ-FEC-CORE] and of [MOQ-MULTICAST] apply.&quot; and &quot;Join
authorization for repair-layer endpoints and the amplification
exposure of layers are covered in <xref target="repair-only-endpoints"></xref>.&quot;</li>
<li><xref target="iana-considerations"></xref>: &quot;This document has no IANA actions.&quot;</li>
<li>In <xref target="acknowledgements"></xref>: &quot;He proposed the division of
draft-ramadan-moq-fec-01 into the core document and its companions,
of which this document is one.&quot;</li>
</ul>
</section>

<section anchor="acknowledgements" numbered="false"><name>Acknowledgements</name>
<t>Marc E. Fiuczynski reviewed draft-ramadan-moq-fec-01 and reported how
relays and MoQ Transport stacks of the time handle datagram-delivered
repair objects, which shaped the FETCH behavior of
<xref target="keyframe-bearing-blocks"></xref> and the priority rules of
<xref target="unicast-repair-budget"></xref>.  He proposed the division of
draft-ramadan-moq-fec-01 into the core document and its companions,
of which this document is one.</t>
<t>Portions of this document were drafted with the assistance of AI
tools.  The author reviewed, edited and takes responsibility for all
of its content.</t>
</section>

</back>

</rfc>
