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

Clarify multiple transport streams for Subgroups #642

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 3 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
19 changes: 10 additions & 9 deletions draft-ietf-moq-transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,34 +329,35 @@ Objects within a group are ordered numerically by their Object ID.
A subgroup is a sequence of one or more objects from the same group
({{model-group}}) in ascending order by Object ID. Objects in a subgroup
have a dependency and priority relationship consistent with sharing a QUIC
stream. In some cases, a Group will be most effectively delivered using more
than one QUIC stream.
stream. A Group will be delivered using at least as many transport streams as
there are Subgroups, typically with a one-to-one mapping between Subgroups
and streams.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should make it more stronger saying "There is one to one mapping between Subgroups and Streams"


When a Track's forwarding preference (see {{object-fields}}) is "Track" or
"Datagram", Objects are not sent in Subgroups, no Subgroup IDs are assigned, and the
description in the remainder of this section does not apply.

QUIC streams offer in-order reliable delivery and the ability to cancel sending
QUIC and WebTransport streams offer in-order reliable delivery and the ability to cancel sending
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wonder why we need to add the additional qualifier for WebTransport?

and retransmission of data. Furthermore, many implementations offer the ability
to control the relative priority of streams, which allows control over the
scheduling of sending data on active streams.

Every object within a Group belongs to exactly one Subgroup.

Objects from two subgroups cannot be sent on the same QUIC stream. Objects from the
same Subgroup MUST NOT be sent on different QUIC streams, unless one of the streams
Objects from two subgroups cannot be sent on the same transport stream. Objects from the
same Subgroup MUST NOT be sent on different transport streams, unless one of the streams
was reset prematurely, or upstream conditions have forced objects from a Subgroup
to be sent out of Object ID order.

Original publishers assign each Subgroup a Subgroup ID, and do so as they see fit. The
scope of a Subgroup ID is a Group, so Subgroups from different Groups MAY share a Subgroup
ID without implying any relationship between them. In general, publishers assign
objects to subgroups in order to leverage the features of QUIC streams as described
objects to subgroups in order to leverage the features of transport streams as described
above.

An example strategy for using QUIC stream properties follows. If object B is
An example strategy for using transport stream properties follows. If object B is
dependent on object A, then delivery of B can follow A, i.e. A and B can be
usefully delivered over a single QUIC stream. Furthermore, in this example:
usefully delivered over a single transport stream. Furthermore, in this example:

- If an object is dependent on all previous objects in a Subgroup, it is added to
that Subgroup.
Expand All @@ -366,7 +367,7 @@ a different Subgroup.

- There are often many ways to compose Subgroups that meet these criteria. Where
possible, choose the composition that results in the fewest Subgroups in a group
to minimize the number of QUIC streams used.
to minimize the number of transport streams used.


## Groups {#model-group}
Expand Down