Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MAX_CACHE_DURATION to SUBSCRIBE_OK Params #469

Merged
merged 15 commits into from
Aug 5, 2024
Merged
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 22 additions & 3 deletions draft-ietf-moq-transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,9 @@ SUBSCRIBE_OK
Group Order (8),
ContentExists (f),
[Largest Group ID (i)],
[Largest Object ID (i)]
[Largest Object ID (i)],
Number of Subscription Parameters (i),
Subscription Parameters (..) ...
}
~~~
{: #moq-transport-subscribe-ok format title="MOQT SUBSCRIBE_OK Message"}
Expand All @@ -1549,12 +1551,29 @@ Values of 0x0 and those larger than 0x2 are a protocol error.
If 0, then the Largest Group ID and Largest Object ID fields will not be
present.

* Largest Group ID: the largest Group ID available for this track. This field
* Largest Group ID: The largest Group ID available for this track. This field
is only present if ContentExists has a value of 1.

* Largest Object ID: the largest Object ID available within the largest Group ID
* Largest Object ID: The largest Object ID available within the largest Group ID
for this track. This field is only present if ContentExists has a value of 1.

* Subscription Parameters: Optional key-value pairs formatted as described in
{{params}}.

### Subscription Parameters {#subscription-parameters}

SUBSCRIBE_OK may contain zero or more parameters describing either the
properties of the track, or the properties of an individual subscription.

The following property is defined in this document:

MAX_CACHE_DURATION (key 0x01): An integer expressing a number of milliseconds. If

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should relays forward the parameter to downstream relays, and if so, what value should be used?

present, the relay MUST NOT start forwarding any individual Object received
through this subscription after the specified number of milliseconds has elapsed
since the beginning of the Object was received. This means Objects earlier
in a multi-object stream will expire earlier than Objects later in the stream.
Once Objects have expired, their state becomes unknown, and a relay that
handles a subscription that includes those Objects re-requests them.

ianswett marked this conversation as resolved.
Show resolved Hide resolved
## SUBSCRIBE_ERROR {#message-subscribe-error}

Expand Down
Loading