Skip to content

Commit 05cdbec

Browse files
authored
Count object extension headers in bytes, not fields (#723)
This makes it possible to skip those without parsing, and easier to parse without trial decoding. Fixes #718
2 parents ffdf137 + 43369e9 commit 05cdbec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

draft-ietf-moq-transport.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2344,8 +2344,8 @@ Track or Datagram.
23442344
* Object Status: As enumeration used to indicate missing
23452345
objects or mark the end of a group or track. See {{object-status}} below.
23462346

2347-
* Object Extension Count: The number of Object Extensions present. A value of 0
2348-
indicates that no Object Extension Headers are present.
2347+
* Object Extension Length: The total length of the Object Extension Headers
2348+
block, in bytes.
23492349

23502350
* Object Extensions : A sequence of Object Extension Headers. See
23512351
{{object-extensions}} below.
@@ -2449,7 +2449,7 @@ OBJECT_DATAGRAM {
24492449
Group ID (i),
24502450
Object ID (i),
24512451
Publisher Priority (8),
2452-
Extension Count (i),
2452+
Extension Headers Length (i),
24532453
[Extension headers (...)],
24542454
Object Payload Length (i),
24552455
[Object Status (i)],
@@ -2517,7 +2517,7 @@ The Object Status field is only sent if the Object Payload Length is zero.
25172517
~~~
25182518
{
25192519
Object ID (i),
2520-
Extension Count (i),
2520+
Extension Headers Length (i),
25212521
[Extension headers (...)],
25222522
Object Payload Length (i),
25232523
[Object Status (i)],
@@ -2621,7 +2621,7 @@ Each object sent on a fetch stream after the FETCH_HEADER has the following form
26212621
Subgroup ID (i),
26222622
Object ID (i),
26232623
Publisher Priority (8),
2624-
Extension Count (i),
2624+
Extension Headers Length (i),
26252625
[Extension headers (...)],
26262626
Object Payload Length (i),
26272627
[Object Status (i)],
@@ -2674,7 +2674,7 @@ STREAM_HEADER_GROUP {
26742674
}
26752675
{
26762676
Object ID = 0
2677-
Extension Count = 2
2677+
Extension Headers Length = 33
26782678
{ Type = 4
26792679
Value = 2186796243
26802680
},

0 commit comments

Comments
 (0)