Skip to content

Commit 9cbde3c

Browse files
authored
Reflow and minor editorial updates
1 parent 5b1ec66 commit 9cbde3c

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

draft-ietf-moq-transport.md

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,9 @@ requested.
16001600

16011601
Field present only for Joining Fetch (0x2):
16021602

1603-
* Preceding Group Offset: The group offset for the Fetch prior and relative to the StartGroup of the corresponding Subscribe
1603+
* Preceding Group Offset: The group offset for the Fetch prior and relative
1604+
to the StartGroup of the corresponding Subscribe. A value of 0 indicates
1605+
the current Group.
16041606

16051607
Objects that are not yet published will not be retrieved by a FETCH.
16061608
The latest available Object is indicated in the FETCH_OK, and is the last
@@ -1616,23 +1618,32 @@ the publisher MUST return FETCH_ERROR with error code 'No Objects'.
16161618

16171619
### Calculating the Range of a Joining Fetch
16181620

1619-
A publisher which receives a Fetch message with a Fetch Type of 0x2 must treat it as a Fetch
1620-
with a range dynamically determined by the Preceding Group Offset (PGO) field and values derived
1621-
from to the corresponding Subscribe message (hereafter "the Subscribe").
1621+
A publisher which receives a Fetch message with a Fetch Type of 0x2 treats it
1622+
as a Fetch with a range dynamically determined by the Preceding Group Offset (PGO)
1623+
field and field values derived from the corresponding SUBSCRIBE message
1624+
(hereafter "the Subscribe").
16221625

16231626
The following values are used:
16241627

16251628
* Resolved Subscribe Start Group:
1626-
* For Subscribes with Filter Type Latest Object or Latest Group, this is equal to Largest Group ID.
1627-
* For Subscribes with Filter Type AbsoluteStart or AbsoluteRange, this is equal to the StartGroup field of the Subscribe message
1629+
* For Subscribes with Filter Type Latest Object or Latest Group,
1630+
this is equal to Largest Group ID.
1631+
* For Subscribes with Filter Type AbsoluteStart or AbsoluteRange,
1632+
this is equal to the StartGroup field of the Subscribe message
16281633
* Resolved Subscribe Start Object:
16291634
* For Subscribes with Filter Type Latest Object, this is equal to Largest Object ID.
16301635
* For Subscribes with Filter Type Latest Group, this is 0
1631-
* For Subscribes with Filter Type AbsoluteStart or AbsoluteRange, this is equal to the StartObject field of the Subscribe message
1632-
* Preceding Group Offset: A field in the Joining Fetch message indicating the relative offset from the start of the Subscribe
1633-
1634-
The Resolved Subscribe Start values for a Joining Fetch MUST correspond to the referenced Subscribe within the same session so that the ranges of Objects covered by the Fetch and Subscribe are contiguous and non-overlapping.
1635-
If a relay answers the referenced Subscribe with a `SUBSCRIBE_OK` that has ContentExists set to 0, it MUST respond to the Joining Fetch with a `FETCH_ERROR`.
1636+
* For Subscribes with Filter Type AbsoluteStart or AbsoluteRange,
1637+
this is equal to the StartObject field of the Subscribe message
1638+
* Preceding Group Offset: A field in the Joining Fetch message indicating the
1639+
relative offset from the start of the Subscribe
1640+
1641+
The Resolved Subscribe Start values for a Joining Fetch MUST correspond to the
1642+
referenced Subscribe within the same session so that the ranges of Objects covered
1643+
by the Fetch and Subscribe are contiguous and non-overlapping.
1644+
If no Objects have been published for the track, so the SUBSCRIBE_OK has a
1645+
ContentExists value of 0, the publisher MUST respond to the Joining Fetch with a
1646+
FETCH_ERROR.
16361647

16371648
The publisher receiving a Joining Fetch computes the fetch range as follows:
16381649

@@ -1647,7 +1658,8 @@ Else, if Resolved Subscribe Start Object is 1 or more:
16471658
* Fetch EndGroup: Resolved Subscribe Start Group
16481659
* Fetch EndObject: Resolved Subscribe Start Object
16491660

1650-
If Fetch EndGroup < Fetch StartGroup respond with a `FETCH_ERROR`.
1661+
If Fetch EndGroup < Fetch StartGroup, there are no Objects to retrieve,
1662+
so respond with a `FETCH_ERROR`.
16511663

16521664
## FETCH_CANCEL {#message-fetch-cancel}
16531665

0 commit comments

Comments
 (0)