media/library
tonihei 8ded11753e Fix issue where getFirstSampleIndex was called on spliced in chunks.
We need to avoid reading and skipping into preload chunks as they
may need to be discarded. The current code iterates over all chunks,
but this can be simplified by just checking the last chunk knowing
that the preload chunk must always be the last one.

As a result, we avoid calling getFirstSampleIndex on all chunks. This
is a bug since the method is not allowed to be called for chunks
that have been spliced in. This still leaves the smaller issue of
potentially calling this method for spliced-in preload chunks, which
will be solved separately.

Issue: #8937

#minor-release

PiperOrigin-RevId: 375053638
2021-05-21 12:05:23 +01:00
..
all Include RTSP module in gradle project 2021-05-10 23:41:50 +01:00
common Add contentIsMalformed and dataType to ParserException 2021-05-21 12:02:29 +01:00
core Assign ERROR_CODE_IO_BAD_HTTP_STATUS to InvalidResponseCodeException 2021-05-21 12:03:39 +01:00
dash Remove deprecated MediaSource.getTag 2021-05-12 11:52:03 +01:00
extractor Make TYPE_* constant declarations in lexicographic order 2021-05-21 12:03:04 +01:00
hls Fix issue where getFirstSampleIndex was called on spliced in chunks. 2021-05-21 12:05:23 +01:00
rtsp Define the default RTSP character set. 2021-05-19 20:24:04 +01:00
smoothstreaming Remove deprecated MediaSource.getTag 2021-05-12 11:52:03 +01:00
transformer Format Java source files 2021-05-06 13:32:25 +01:00
ui Minor translation updates 2021-05-13 11:05:15 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.