Skip to content

Commit d149bbc

Browse files
committed
Rename ANNOUNCE_PLEASE to ANNOUNCE_SUBSCRIBE
Gives all messages on the Announce stream a consistent ANNOUNCE_ prefix. https://claude.ai/code/session_01LCkQcr69mLdMHo9RQSL8xG
1 parent 775c5f2 commit d149bbc

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

draft-lcurley-moq-lite.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ A Broadcast is a collection of Tracks from a single publisher.
9191
This corresponds to a MoqTransport's "track namespace".
9292

9393
A publisher may produce multiple broadcasts, each of which is advertised via an ANNOUNCE message.
94-
The subscriber uses the ANNOUNCE_PLEASE message to discover available broadcasts.
94+
The subscriber uses the ANNOUNCE_SUBSCRIBE message to discover available broadcasts.
9595
These announcements are live and can change over time, allowing for dynamic origin discovery.
9696

9797
A broadcast consists of any number of Tracks.
@@ -184,7 +184,7 @@ There's a 1-byte STREAM_TYPE at the beginning of each stream.
184184
### Announce
185185
A subscriber can open a Announce Stream to discover broadcasts matching a prefix.
186186

187-
The subscriber creates the stream with a ANNOUNCE_PLEASE message.
187+
The subscriber creates the stream with a ANNOUNCE_SUBSCRIBE message.
188188
The publisher replies with ANNOUNCE messages for any matching broadcasts and any future changes.
189189
Each ANNOUNCE message contains one of the following statuses:
190190

@@ -366,11 +366,11 @@ A receiver MUST reset the stream if it receives an unknown stream type.
366366
Unknown stream types MUST NOT be treated as fatal; this enables extension negotiation via stream probing.
367367

368368

369-
## ANNOUNCE_PLEASE
370-
A subscriber sends an ANNOUNCE_PLEASE message to indicate it wants to receive an ANNOUNCE message for any broadcasts with a path that starts with the requested prefix.
369+
## ANNOUNCE_SUBSCRIBE
370+
A subscriber sends an ANNOUNCE_SUBSCRIBE message to indicate it wants to receive an ANNOUNCE message for any broadcasts with a path that starts with the requested prefix.
371371

372372
~~~
373-
ANNOUNCE_PLEASE Message {
373+
ANNOUNCE_SUBSCRIBE Message {
374374
Message Length (i)
375375
Broadcast Path Prefix (s),
376376
}
@@ -636,6 +636,7 @@ A generic library or relay MUST NOT inspect or modify the contents unless otherw
636636

637637
## moq-lite-04
638638
- Added GOAWAY stream for graceful session shutdown and migration.
639+
- Renamed ANNOUNCE_PLEASE to ANNOUNCE_SUBSCRIBE.
639640

640641
## moq-lite-03
641642
- Version negotiated via ALPN (`moq-lite-xx`) instead of SETUP messages.
@@ -702,7 +703,7 @@ A quick comparison of moq-lite and moq-transport-14:
702703
- OBJECT_DATAGRAM
703704

704705
## Renamed Messages
705-
- SUBSCRIBE_NAMESPACE -> ANNOUNCE_PLEASE
706+
- SUBSCRIBE_NAMESPACE -> ANNOUNCE_SUBSCRIBE
706707
- SUBGROUP_HEADER -> GROUP
707708

708709
## Deleted Fields

0 commit comments

Comments
 (0)