
Update with code review suggestions: 1. rename to HlsCheckedSampleQueue to HlsSampleQueue and combine with format adjusting class. 2. Copywrite in added classes 3. Capture additional items useful for recovery and reporting in the exception class 4. Remove extraneous logging 5. eliminate magic number (50 seconds) and use percentage of duration WIP: - eliminate null check for chunk (chunkless prepare starts load before sampleQueue are created) - work out recovery strategy
ExoPlayer HLS library module
Provides support for HTTP Live Streaming (HLS) content. To play HLS content,
instantiate a HlsMediaSource
and pass it to ExoPlayer.prepare
.
Links
- Developer Guide.
- Javadoc: Classes matching
com.google.android.exoplayer2.source.hls.*
belong to this module.