moqtap_client/draft13/mod.rs
1//! MoQT client implementation for draft-13.
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 `draft13` feature.
10//!
11//! # Differences from draft-12
12//!
13//! Draft-13 renames and restructures a few message types:
14//!
15//! - `SubscribeAnnounces` / `SubscribeAnnouncesOk` / `SubscribeAnnouncesError`
16//! / `UnsubscribeAnnounces` are renamed to `SubscribeNamespace` /
17//! `SubscribeNamespaceOk` / `SubscribeNamespaceError` /
18//! `UnsubscribeNamespace` (same wire IDs 0x11-0x14).
19//! - `TrackStatusRequest` (0x0D) becomes `TrackStatus`: a subscribe-like
20//! request carrying `subscriber_priority`, `group_order`, `forward`, and
21//! `filter_type`.
22//! - `TrackStatus` (0x0E) becomes `TrackStatusOk`: a subscribe_ok-like
23//! response carrying `track_alias`, `expires`, `group_order`,
24//! `content_exists`, and an optional `largest_location`.
25//! - New `TrackStatusError` (0x0F): `request_id` + `error_code` +
26//! `reason_phrase`.
27//!
28//! The version varint is `0xff000000 + 13`.
29
30/// Outbound MoQT connection with MoQT framing over QUIC.
31pub mod connection;
32/// Unified endpoint state machine orchestrating all MoQT protocol flows.
33pub mod endpoint;
34/// Client event types emitted via the observer.
35pub mod event;
36/// Fetch lifecycle state machine.
37pub mod fetch;
38/// Announce / SubscribeNamespace state machines.
39pub mod namespace;
40/// Connection observer trait for receiving client events.
41pub mod observer;
42/// Session state, setup validation, and request ID allocation.
43pub mod session;
44/// Subscription lifecycle state machine.
45pub mod subscription;
46/// Track status lifecycle state machine.
47pub mod track_status;