Skip to content

Commit dbc475f

Browse files
authored
Reorder Extension Headers (#1379)
To minimize the diff with #1374
2 parents 3b063f5 + 5672f12 commit dbc475f

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

draft-ietf-moq-transport.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3697,38 +3697,6 @@ SUBGROUP_HEADER {
36973697

36983698
The following Object Extension Headers are defined in MOQT.
36993699

3700-
## Prior Group ID Gap
3701-
3702-
Prior Group ID Gap (Extension Header Type 0x3C) is a variable length integer
3703-
containing the number of Groups prior to the current Group that do not and will
3704-
never exist. For example, if the Original Publisher is publishing an Object in
3705-
Group 7 and knows it will never publish any Objects in Group 8 or Group 9, it
3706-
can include Prior Group ID Gap = 2 in any number of Objects in Group 10, as it
3707-
sees fit. A Track is considered malformed (see {{malformed-tracks}}) if any of
3708-
the following conditions are detected:
3709-
3710-
* An Object contains more than one instance of Prior Group ID Gap.
3711-
* A Group contains more than one Object with different values for Prior Group
3712-
ID Gap.
3713-
* An Object has a Prior Group ID Gap larger than the Group ID.
3714-
* An endpoint receives an Object with a Prior Group ID Gap covering an Object
3715-
it previously received.
3716-
* An endpoint receives an Object with a Group ID within a previously
3717-
communicated gap.
3718-
3719-
This extension is optional, as publishers might not know the prior gap gize, or
3720-
there may not be a gap. If Prior Group ID Gap is not present, the receiver
3721-
cannot infer any information about the existence of prior groups (see
3722-
{{group-ids}}).
3723-
3724-
This extension can be added by the Original Publisher, but MUST NOT be added by
3725-
relays. This extension MAY be removed by relay when the object in question is
3726-
served via FETCH, and the gap that the extension communicates is already
3727-
communicated implicitly in the FETCH response; it MUST NOT be modified or
3728-
removed otherwise.
3729-
3730-
An Object MUST NOT contain more than one instance of this extension header.
3731-
37323700
## Immutable Extensions
37333701

37343702
The Immutable Extensions (Extension Header Type 0xB) contains a sequence of
@@ -3775,6 +3743,38 @@ EXT 1 and EXT N can be modified or removed by Relays
37753743

37763744
An Object MUST NOT contain more than one instance of this extension header.
37773745

3746+
## Prior Group ID Gap
3747+
3748+
Prior Group ID Gap (Extension Header Type 0x3C) is a variable length integer
3749+
containing the number of Groups prior to the current Group that do not and will
3750+
never exist. For example, if the Original Publisher is publishing an Object in
3751+
Group 7 and knows it will never publish any Objects in Group 8 or Group 9, it
3752+
can include Prior Group ID Gap = 2 in any number of Objects in Group 10, as it
3753+
sees fit. A Track is considered malformed (see {{malformed-tracks}}) if any of
3754+
the following conditions are detected:
3755+
3756+
* An Object contains more than one instance of Prior Group ID Gap.
3757+
* A Group contains more than one Object with different values for Prior Group
3758+
ID Gap.
3759+
* An Object has a Prior Group ID Gap larger than the Group ID.
3760+
* An endpoint receives an Object with a Prior Group ID Gap covering an Object
3761+
it previously received.
3762+
* An endpoint receives an Object with a Group ID within a previously
3763+
communicated gap.
3764+
3765+
This extension is optional, as publishers might not know the prior gap gize, or
3766+
there may not be a gap. If Prior Group ID Gap is not present, the receiver
3767+
cannot infer any information about the existence of prior groups (see
3768+
{{group-ids}}).
3769+
3770+
This extension can be added by the Original Publisher, but MUST NOT be added by
3771+
relays. This extension MAY be removed by relay when the object in question is
3772+
served via FETCH, and the gap that the extension communicates is already
3773+
communicated implicitly in the FETCH response; it MUST NOT be modified or
3774+
removed otherwise.
3775+
3776+
An Object MUST NOT contain more than one instance of this extension header.
3777+
37783778
## Prior Object ID Gap
37793779

37803780
Prior Object ID Gap (Extension Header Type 0x3E) is a variable length integer

0 commit comments

Comments
 (0)