Skip to content

Commit

Permalink
Explicitly specify the namespace (#277)
Browse files Browse the repository at this point in the history
Fixes #204 by explicitly specifying the namespace.

Also consistently changes to the (b) notation to indicate a variable
length sequence of bytes.
  • Loading branch information
ianswett authored Oct 16, 2023
2 parents 12b724c + a5f7743 commit db8110b
Showing 1 changed file with 27 additions and 22 deletions.
49 changes: 27 additions & 22 deletions draft-ietf-moq-transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -805,16 +805,18 @@ The format of SUBSCRIBE REQUEST is as follows:

~~~
SUBSCRIBE REQUEST Message {
Full Track Name Length (i),
Full Track Name (...),
Track Namespace (b),
Track Name (b),
Number of Parameters (i),
Track Request Parameters (..) ...
}
~~~
{: #moq-transport-subscribe-format title="MOQT SUBSCRIBE REQUEST Message"}

* Track Namespace: Identifies the namespace of the track as defined in
({{track-name}}).

* Full Track Name: Identifies the track as defined in ({{track-name}}).
* Track Name: Identifies the track name as defined in ({{track-name}}).

* Track Request Parameters: As defined in {{track-req-params}}.

Expand All @@ -829,16 +831,18 @@ A `SUBSCRIBE OK` control message is sent for successful subscriptions.
~~~
SUBSCRIBE OK
{
Full Track Name Length (i),
Full Track Name (...),
Track Namespace (b),
Track Name (b),
Track ID (i),
Expires (i)
}
~~~
{: #moq-transport-subscribe-ok format title="MOQT SUBSCRIBE OK Message"}

* Full Track Name: Identifies the track for which this response is
provided.
* Track Namespace: Identifies the namespace of the track as defined in
({{track-name}}).

* Track Name: Identifies the track name as defined in ({{track-name}}).

* Track ID: Session specific identifier that is used as an alias for the
Full Track Name in the Track ID field of the OBJECT ({{message-object}})
Expand All @@ -858,17 +862,19 @@ failed SUBSCRIBE REQUEST.
~~~
SUBSCRIBE ERROR
{
Full Track Name Length (i),
Full Track Name (...),
Track Namespace (b),
Track Name (b),
Error Code (i),
Reason Phrase Length (i),
Reason Phrase (...),
}
~~~
{: #moq-transport-subscribe-error format title="MOQT SUBSCRIBE ERROR Message"}

* Full Track Name: Identifies the track in the request message for which
this response is provided.
* Track Namespace: Identifies the namespace of the track as defined in
({{track-name}}).

* Track Name: Identifies the track name as defined in ({{track-name}}).

* Error Code: Identifies an integer error code for subscription failure.

Expand All @@ -886,13 +892,16 @@ The format of `UNSUBSCRIBE` is as follows:

~~~
UNSUBSCRIBE Message {
Full Track Name Length (i),
Full Track Name (...),
Track Namespace (b),
Track Name (b),
}
~~~
{: #moq-transport-unsubscribe-format title="MOQT UNSUBSCRIBE Message"}

* Full Track Name: Identifies the track as defined in ({{track-name}}).
* Track Namespace: Identifies the namespace of the track as defined in
({{track-name}}).

* Track Name: Identifies the track name as defined in ({{track-name}}).

## ANNOUNCE {#message-announce}

Expand All @@ -903,8 +912,7 @@ publish tracks under this namespace.

~~~
ANNOUNCE Message {
Track Namespace Length (i),
Track Namespace (..),
Track Namespace (b),
Number of Parameters (i),
Track Request Parameters (..) ...,
}
Expand All @@ -925,8 +933,7 @@ successful authorization and acceptance of an ANNOUNCE message.
~~~
ANNOUNCE OK
{
Track Namespace Length (i),
Track Namespace (..),
Track Namespace (b),
}
~~~
{: #moq-transport-announce-ok format title="MOQT ANNOUNCE OK Message"}
Expand All @@ -942,8 +949,7 @@ failed authorization.
~~~
ANNOUNCE ERROR
{
Track Namespace Length(i),
Track Namespace(...),
Track Namespace(b),
Error Code (i),
Reason Phrase Length (i),
Reason Phrase (...),
Expand All @@ -968,8 +974,7 @@ within the provided Track Namespace.

~~~
UNANNOUNCE Message {
Track Namespace Length(i),
Track Namespace(..),
Track Namespace(b),
}
~~~
{: #moq-transport-unannounce-format title="MOQT UNANNOUNCE Message"}
Expand Down

0 comments on commit db8110b

Please sign in to comment.