media/library
olly d8b5a1d7f4 Contract test for end-position-out-of-range case
Assert that an exception is not thrown from DataSource.open
if the DataSpec's start position is valid but its end position
extends beyond the end of the data.

HTTP based DataSource implementations have no good way of
knowing when this is the case, so it makes sense to make this
the required behaviour, rather than requiring an exception to
be thrown or allowing both.

There are also use cases where the caller may want to use the
end position as an upper bound, without knowing for sure how
long the content is. An example of this use case is wanting to
pre-cache the first N bytes of a stream. This implies that any
exception should be thrown after reading to the end of the
data, rather than preemptively in open.

Issue: #7326
PiperOrigin-RevId: 359063721
2021-02-24 15:46:02 +00:00
..
all Add Transformer "Getting started" page 2021-02-03 15:03:16 +00:00
common Contract test for end-position-out-of-range case 2021-02-24 15:46:02 +00:00
core Contract test for end-position-out-of-range case 2021-02-24 15:46:02 +00:00
dash Fix available end time calculation for multi-period DASH live streams 2021-02-12 16:39:56 +00:00
extractor Revert logic to decide whether meta atom is full 2021-02-12 19:55:47 +00:00
hls Suppress SwitchIntDef warning where it makes sense 2021-02-04 00:24:04 +00:00
smoothstreaming Add common prefix to loader thread names 2021-02-11 12:05:06 +00:00
transformer Move MediaFormatUtil into common 2021-02-12 16:39:28 +00:00
ui Merge pull request #8539 from larryng:patch-1 2021-02-23 12:30:31 +00: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.