You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: draft-ietf-moq-transport.md
+24-12Lines changed: 24 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1600,7 +1600,9 @@ requested.
1600
1600
1601
1601
Field present only for Joining Fetch (0x2):
1602
1602
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.
1604
1606
1605
1607
Objects that are not yet published will not be retrieved by a FETCH.
1606
1608
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'.
1616
1618
1617
1619
### Calculating the Range of a Joining Fetch
1618
1620
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").
1622
1625
1623
1626
The following values are used:
1624
1627
1625
1628
* 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
1628
1633
* Resolved Subscribe Start Object:
1629
1634
* For Subscribes with Filter Type Latest Object, this is equal to Largest Object ID.
1630
1635
* 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.
1636
1647
1637
1648
The publisher receiving a Joining Fetch computes the fetch range as follows:
1638
1649
@@ -1647,7 +1658,8 @@ Else, if Resolved Subscribe Start Object is 1 or more:
0 commit comments