1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! HLS (HTTP Live Streaming) protocol implementation.
//!
//! This module provides types and utilities for working with Apple's HLS protocol,
//! including playlist parsing, segment fetching, and adaptive bitrate control.
//!
//! # Key Types
//!
//! - [`MasterPlaylist`] - Multi-bitrate playlist with variant streams
//! - [`MediaPlaylist`] - Single bitrate playlist with segments
//! - [`Segment`] - Individual media segment
//! - [`SegmentFetcher`] - Async segment downloader
//! - [`AbrController`] - Adaptive bitrate controller trait
//!
//! # Example
//!
//! ```ignore
//! use oximedia_net::hls::{MasterPlaylist, MediaPlaylist, SegmentFetcher};
//!
//! async fn play_stream(url: &str) -> NetResult<()> {
//! let master = MasterPlaylist::parse(playlist_data)?;
//! let best_variant = master.best_variant_for_bandwidth(5_000_000);
//! // ...
//! Ok(())
//! }
//! ```
// Re-export legacy ABR types for backward compatibility
pub use ;
// Re-export client types
pub use ;
pub use ;
pub use ;