use Duration;
use MediaPlaylist;
pub use Fetcher;
pub use MediaSource;
pub const BYTERATE: f64 = 128_000.0 / 8.0;
// We need a thread that fetches the HLS segments continuously as we stream the audio
// and inserts them into a cache protected by a mutex.
// And the SoundcloudMediaSource needs to pull the segments from the cache.
// The fetcher will try to keep the cache filled for the next 10 seconds
;