File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -78,16 +78,21 @@ track is "chat".
7878* user-id - the user ID
7979* device-id - a unique identifier for each device for the user. This allows
8080 the same user to join the chat from multiple devices
81- * timestamp - the timestamp in seconds when the track started. This allows a
82- stateless client to start publishing without accidentally
83- overwriting a previously sent group and object.
81+ * timestamp - the timestamp in seconds when the track started, encoded as a
82+ string. This allows a stateless client to start publishing
83+ without accidentally overwriting a previously sent group and
84+ object.
85+ Note : the protocol will still function so long as each chat
86+ client selects a monotonically increasing number for this field.
87+ Using the common format described here could support future
88+ functionality like pulling chat history.
8489
8590# # Joining the Chat
8691
8792To join the chat a participant sends a SUBSCRIBE_NAMESPACE message to the relay
88- with a namespace prefix ("moq-chat", \<id\>) in order to receive all ANNOUNCE
89- message from each participant in the chat and UNANNOUNCE messages when
90- participants leave .
93+ with a namespace prefix ("moq-chat", \<id\>). MoQ Relays track the current
94+ state of all announced namespaces and namespace subscriptions, and forward any
95+ matching ANNOUNCE or UNANNOUNCE messages to interested endpoints .
9196
9297The participant also sends an ANNOUNCE message for their chat track namespace.
9398
You can’t perform that action at this time.
0 commit comments