moqtap_client/draft08/mod.rs
1//! MoQT client implementation for draft-08.
2//!
3//! Each draft lives in its own top-level module with a complete, independent
4//! implementation: connection, endpoint state machine, event types, observer
5//! trait, and per-flow state machines (subscribe, fetch, announce, track
6//! status). No code is shared across drafts — each draft carries its own copy
7//! because wire-level differences would make a shared layer leaky.
8//!
9//! Enable via the `draft08` feature.
10//!
11//! # Differences from draft-07
12//!
13//! * `SubscribesBlocked` (type 0x1A) is a new control message.
14//! * `Subscribe` AbsoluteRange filter drops `end_object`; only `end_group`.
15//! * `SubscribeUpdate` drops `end_object`.
16//! * `SubscribeDone` is restructured: it now carries `stream_count` instead
17//! of the conditional `final_group` / `final_object` pair.
18//! * `Fetch` has two modes (Standalone = 1, Joining = 2). Joining mode takes
19//! `joining_subscribe_id` + `preceding_group_offset`.
20//! * `FetchOk` always includes `largest_group_id` and `largest_object_id`.
21//! * Subgroup / datagram / fetch object headers carry `extension_count` +
22//! opaque extension bytes.
23//! * New `DatagramStatus` stream type (0x02) for status-only datagrams.
24//! * `ObjectStatus` value 4 is now `EndOfTrackAndGroup`, and value 5 is a new
25//! `EndOfTrack` (track ends but current group does not).
26
27/// Outbound MoQT connection with MoQT framing over QUIC.
28pub mod connection;
29/// Unified endpoint state machine orchestrating all MoQT protocol flows.
30pub mod endpoint;
31/// Client event types emitted via the observer.
32pub mod event;
33/// Fetch lifecycle state machine.
34pub mod fetch;
35/// Announce / SubscribeAnnounces state machines.
36pub mod namespace;
37/// Connection observer trait for receiving client events.
38pub mod observer;
39/// Session state, setup validation, and subscribe ID allocation.
40pub mod session;
41/// Subscription lifecycle state machine.
42pub mod subscription;
43/// Track status lifecycle state machine.
44pub mod track_status;