Skip to content

Commit 1f4f152

Browse files
authored
Remove track per stream (#516)
As discussed at the Wednesday virtual interim. Fixes #480 May fix #490 May fix #476
2 parents 182fe3a + 087bc32 commit 1f4f152

File tree

1 file changed

+2
-42
lines changed

1 file changed

+2
-42
lines changed

draft-ietf-moq-transport.md

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,8 +1824,6 @@ variable-length integer indicating the type of the stream in question.
18241824
|------:|:------------------------------------------------------|
18251825
| 0x1 | OBJECT_DATAGRAM ({{object-datagram}}) |
18261826
|-------|-------------------------------------------------------|
1827-
| 0x2 | STREAM_HEADER_TRACK ({{stream-header-track}}) |
1828-
|-------|-------------------------------------------------------|
18291827
| 0x4 | STREAM_HEADER_SUBGROUP ({{stream-header-subgroup}}) |
18301828
|-------|-------------------------------------------------------|
18311829

@@ -1936,8 +1934,8 @@ OBJECT_DATAGRAM Message {
19361934

19371935
## Streams
19381936

1939-
When objects are sent on streams, the stream begins with a stream
1940-
header message and is followed by one or more sets of serialized object fields.
1937+
When objects are sent on streams, the stream begins with a stream header
1938+
message and is followed by one or more sets of serialized object fields.
19411939
If a stream ends gracefully in the middle of a serialized Object, terminate the
19421940
session with a Protocol Violation.
19431941

@@ -1947,44 +1945,6 @@ header message type and fields.
19471945

19481946
TODO: figure out how a relay closes these streams
19491947

1950-
### Stream Header Track
1951-
1952-
When a stream begins with `STREAM_HEADER_TRACK`, all objects on the stream
1953-
belong to the track requested in the Subscribe message identified by `Subscribe
1954-
ID`. All objects on the stream have the `Publisher Priority` specified in the
1955-
stream header.
1956-
1957-
~~~
1958-
STREAM_HEADER_TRACK Message {
1959-
Subscribe ID (i)
1960-
Track Alias (i),
1961-
Publisher Priority (8),
1962-
}
1963-
~~~
1964-
{: #stream-header-track-format title="MOQT STREAM_HEADER_TRACK Message"}
1965-
1966-
All Objects received on a stream opened with STREAM_HEADER_TRACK have an `Object
1967-
Forwarding Preference` = `Track`.
1968-
1969-
To send an Object with `Object Forwarding Preference` = `Track`, find the open
1970-
stream that is associated with the subscription, or open a new one and send the
1971-
`STREAM_HEADER_TRACK` if needed, then serialize the following object fields.
1972-
The Object Status field is only sent if the Object Payload Length is zero.
1973-
1974-
~~~
1975-
{
1976-
Group ID (i),
1977-
Object ID (i),
1978-
Object Payload Length (i),
1979-
[Object Status (i)],
1980-
Object Payload (..),
1981-
}
1982-
~~~
1983-
{: #object-track-format title="MOQT Track Stream Object Fields"}
1984-
1985-
A publisher MUST NOT send an Object on a stream if its Group ID is less than a
1986-
previously sent Group ID on that stream, or if its Object ID is less than or
1987-
equal to a previously sent Object ID with the same Group ID.
19881948

19891949
### Stream Header Subgroup
19901950

0 commit comments

Comments
 (0)