Skip to content

Commit 86ec7ff

Browse files
committed
Remove unnecessary/redundant definitions
We can just describe these values directly Thanks to Suhas for spotting this opportunity to tighten up this section moq-wg#638 (comment)
1 parent 7db23b5 commit 86ec7ff

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

draft-ietf-moq-transport.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,28 +1542,20 @@ The following values are used:
15421542
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.
15431543
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`.
15441544

1545-
Using the above information and the following algorithm, these values are computed:
1546-
1547-
* Fetch Start Group: The StartGroup for the Fetch
1548-
* Fetch Start Object: The StartObject for the Fetch (always 0)
1549-
* Fetch End Group: The EndGroup for the Fetch
1550-
* Fetch End Object: The EndObject for the Fetch (represented as 1 more than the end Object ID
1551-
or a value of 0 indicating that the entire group is requested)
1552-
15531545
The publisher receiving a Joining Fetch computes the fetch range as follows:
15541546

1555-
* Fetch Start Group: Resolved Subscribe Start Group - Preceding Group Offset
1556-
* Fetch Start Object: 0
1547+
* Fetch StartGroup: Resolved Subscribe Start Group - Preceding Group Offset
1548+
* Fetch StartObject: 0
15571549

15581550
If Resolved Subscribe Start Object is 0:
1559-
* Fetch End Group: Resolved Subscribe Start Group - 1
1560-
* Fetch End Object: 0 (all objects in the group)
1551+
* Fetch EndGroup: Resolved Subscribe Start Group - 1
1552+
* Fetch EndObject: 0 (all objects in the group)
15611553

15621554
Else, if Resolved Subscribe Start Object is 1 or more:
1563-
* Fetch End Group: Resolved Subscribe Start Group
1564-
* Fetch End Object: Resolved Subscribe Start Object
1555+
* Fetch EndGroup: Resolved Subscribe Start Group
1556+
* Fetch EndObject: Resolved Subscribe Start Object
15651557

1566-
If Fetch End Group < Fetch Start Group respond with a Fetch Error.
1558+
If Fetch EndGroup < Fetch StartGroup respond with a `FETCH_ERROR`.
15671559

15681560
## FETCH_CANCEL {#message-fetch-cancel}
15691561

0 commit comments

Comments
 (0)