#![forbid(unsafe_code)]
pub mod dl;
mod error;
mod hooks;
mod media;
mod media_rfc6381;
mod source;
mod stream;
mod timeline;
#[cfg(any(test, feature = "mock"))]
pub mod mock;
pub use error::{SourceError, StreamError, StreamResult};
pub use hooks::{DecoderHooks, ReaderChunkSignal, ReaderSeekSignal, SharedHooks};
pub use media::{AudioCodec, ContainerFormat, MediaInfo};
pub use media_rfc6381::audio_codec_supports_fmp4_packaging;
pub use source::{
NotReadyCause, PendingReason, ReadOutcome, SegmentDescriptor, SegmentLayout, Source,
SourcePhase, SourceSeekAnchor,
};
pub use stream::{
Stream, StreamPending, StreamReadError, StreamReadOutcome, StreamSeekPastEof, StreamType,
VariantChangeError,
};
pub use timeline::{ChunkPosition, Timeline};