Skip to content

Commit 517de55

Browse files
authored
Add an error code for Too Far Behind (moq-wg#620)
This error code can be sent by a publisher to a subscriber that is not consuming data fast enough, causing a queue to form at the publisher that exceeds the publisher's limits. Fixes: moq-wg#462 Fixes: moq-wg#582
2 parents a7457c3 + f909acc commit 517de55

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

draft-ietf-moq-transport.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,8 @@ SUBSCRIBE_DONE, as defined below:
810810
|------|---------------------------|
811811
| 0x6 | Expired |
812812
|------|---------------------------|
813+
| 0x7 | Too Far Behind |
814+
|------|---------------------------|
813815

814816
### Graceful Publisher Relay Switchover
815817

@@ -1072,8 +1074,14 @@ If an earlier Object arrives later than subsequent Objects, relays can consider
10721074
the receipt time as that of the next later Object, with the assumption that the
10731075
Object's data was reordered.
10741076

1075-
If neither the subscriber or publisher specify DELIVERY TIMEOUT, Objects are
1076-
delivered as indicated by their Group Order and Priority.
1077+
If neither the subscriber or publisher specify DELIVERY TIMEOUT, all Objects
1078+
in the track matching the subscription filter are delivered as indicated by
1079+
their Group Order and Priority. If a subscriber exceeds the publisher's
1080+
resource limits by failing to consume objects at a sufficient rate, the
1081+
publisher MAY terminate the subscription with error 'Too Far Behind'.
1082+
1083+
If an object in a subgroup exceeds the delivery timeout, the publisher MUST
1084+
reset the underlying transport stream (see {{closing-subgroup-streams}}).
10771085

10781086
When sent by a subscriber, this parameter is intended to be specific to a
10791087
subscription, so it SHOULD NOT be forwarded upstream by a relay that intends

0 commit comments

Comments
 (0)