moqtap_codec/draft14/mod.rs
1//! MoQT wire codec for draft-14.
2//!
3//! Changes from draft-13:
4//! - Object IDs are delta encoded within a subgroup. Draft-13 and everything
5//! before it wrote them absolutely, so nothing on the wire stopped a
6//! publisher writing them out of order; from here on a repeat or a decrease
7//! has no encoding at all.
8//! - A bit in the Datagram Type carries Object ID = 0, so the field is absent
9//! on the datagrams that would have spent a byte saying zero.
10//! - ANNOUNCE becomes PUBLISH_NAMESPACE and SUBSCRIBE_DONE becomes
11//! PUBLISH_DONE, with the surrounding OK/ERROR/CANCEL messages renamed to
12//! match.
13//! - SUBSCRIBE_UPDATE gains a Request ID.
14//! - FETCH is reorganised, and the range rule it states is narrowed to
15//! "Standalone and Absolute Joining Fetches".
16//! - The AUTHORITY setup parameter arrives, as does a free-form parameter
17//! naming the sender's implementation.
18//! - Two extension headers arrive: Prior Object ID Gap, and one carrying
19//! immutable extensions.
20//! - TRACK_STATUS joins the request types a GOAWAY affects.
21
22/// Data stream headers (subgroup, datagram, fetch, object).
23pub mod data_stream;
24/// Error, status and stream-reset code registries.
25pub mod error_codes;
26/// Control message types with encode/decode.
27pub mod message;
28/// Draft-14 specific types (object status, etc.).
29pub mod types;