sheathe_core/lib.rs
1//! Core media model for the **sheathe** packager.
2//!
3//! This crate plays the role of Shaka Packager's `media/base`: the format-agnostic
4//! abstractions every other crate is built on — elementary streams, samples,
5//! timing, and the shared error type. It deliberately knows nothing about MP4,
6//! DASH, or HLS; those live in [`sheathe-mp4`], [`sheathe-dash`], and
7//! [`sheathe-hls`].
8//!
9//! [`sheathe-mp4`]: https://crates.io/crates/sheathe-mp4
10//! [`sheathe-dash`]: https://crates.io/crates/sheathe-dash
11//! [`sheathe-hls`]: https://crates.io/crates/sheathe-hls
12
13mod error;
14mod sample;
15mod stream;
16mod time;
17
18pub use error::{Error, Result};
19pub use sample::{Sample, SampleFlags};
20pub use stream::{Codec, MediaKind, StreamInfo};
21pub use time::{Scaled, Timescale};