media/library/src/main/java/com/google/android/exoplayer/chunk
olly 3187bd0829 Align DASH/SS/HLS chunk replacement mechanisms.
DASH + SS previously had a ridiculously complicated chunk
replacement mechanism in resumeFromBackOff. It also didn't
allow replacement of the first media chunk in the queue,
even though it's possible to remove it in the case that no
corresponding samples have been consumed.

This CL moves DASH + SS to the simpler model used in the
HLS implementation, where the chunk source has a single
opportunity to cancel (and hence later replace) the chunk
when the load error occurs. With this change comes the
ability to replace the first media chunk in the queue in
all cases where it's possible to do so.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=118573418
2016-06-15 19:39:05 +01:00
..
BaseChunkSampleSourceEventListener.java Make SampleSource interfaces right for TrackSelector. 2016-06-15 18:54:51 +01:00
BaseMediaChunk.java One Format object to rule them all. 2016-06-15 18:54:50 +01:00
Chunk.java One Format object to rule them all. 2016-06-15 18:54:50 +01:00
ChunkExtractorWrapper.java One Format object to rule them all. 2016-06-15 18:54:50 +01:00
ChunkOperationHolder.java Fix end-of-stream for live streams. 2015-09-10 18:21:21 +01:00
ChunkSampleSource.java Align DASH/SS/HLS chunk replacement mechanisms. 2016-06-15 19:39:05 +01:00
ChunkSource.java Align DASH/SS/HLS chunk replacement mechanisms. 2016-06-15 19:39:05 +01:00
ContainerMediaChunk.java One Format object to rule them all. 2016-06-15 18:54:50 +01:00
DataChunk.java One Format object to rule them all. 2016-06-15 18:54:50 +01:00
FormatEvaluator.java Use FormatEvaluator for HLS. 2016-06-15 18:54:51 +01:00
InitializationChunk.java Fix hasSampleFormat in experimental version. Oops! 2016-06-15 18:54:51 +01:00
MediaChunk.java One Format object to rule them all. 2016-06-15 18:54:50 +01:00
SingleSampleMediaChunk.java Rename SampleHolder to DecoderInputBuffer. 2016-06-15 19:39:04 +01:00