Skip to main content

Module ingest

Module ingest 

Source
Expand description

DASH-IF Live Media Ingest (Interface-1) — sans-IO core (increment P1).

Request classification (classify), MPD manifest grouping extraction (ManifestGrouping::from_mpd), the §5.3 status mapping (IngestError::status), and the per-track header/segment state machine (IngestState).

No sockets, no tokio, no axum: inputs are plain Rust values. Cited against private/specs/dashif_live_media_ingest_v1.3.html §5.2, §5.3, §6.2 (items 1, 11, 18, 16 a-h, 17 a-e, 19) and ISO/IEC 23009-1 §5.3.9.4.4 (template grammar) as implemented by crate::address::template.

Re-exports§

pub use session::DEFAULT_BUFFERED_BUDGET_BYTES;
pub use session::DEFAULT_MAX_BUFFERED_OBJECT_BYTES;
pub use session::DEFAULT_MAX_OBJECT_BYTES;
pub use session::DashifIngestConfig;
pub use session::DashifIngestSession;
pub use session::IngestObject;
pub use session::SegmentHandle;
pub use session::SessionError;

Modules§

session
DASH-IF Live Media Ingest (Interface-1) — sans-IO ingest session (increment P2a).

Structs§

IngestState
Per-track header/segment state machine.
ManifestGrouping
Grouping extracted from a DASH MPD per §6.2.16.
RequestMeta
Metadata extracted from one ingest HTTP request.

Enums§

Addressing
Addressing mode derived from the MPD’s SegmentTemplate@media.
IngestError
Errors raised by the ingest core.
IngestMethod
HTTP method of an ingest request (§5.2.1).
ManifestFormat
Manifest flavour accepted on the ingest path (§6.2.2, §6.2.17).
ObjectKind
Classified shape of one ingest request (DESIGN §2).
SegmentDisposition
Disposition of an accepted segment (§6.2.10/11).

Functions§

classify