media/library
olly 829282fa12 Replace DataSpec.absoluteStreamPosition with uriPositionOffset
This is a preliminary step toward adding a DataSpec.Builder,
which is needed for sanity when adding DataSpec.customData.

The existing absoluteStreamPosition field is very error prone,
because anyone using a Builder to adjust the request position
will need to remember to adjust two values:

dataSpec
    .buildUpon()
    .setAbsoluteStreamPosition(x)
    .setPosition(x)
    .build();

Furthermore, the difference between position and
absoluteStreamPosition is irrelevant in nearly all cases. In
the core library, the difference is only relevant when initializing
AES encryption/decryption to write/read cache files.

Replacing absoluteStreamPosition with uriPositionOffset will
simplify the code block above to:

dataSpec
    .buildUpon()
    .setPosition(x)
    .build();

PiperOrigin-RevId: 294485644
2020-02-11 22:10:17 +00:00
..
all Use new exoplayer.dev domain everywhere. 2019-04-16 15:25:27 +01:00
common Replace DataSpec.absoluteStreamPosition with uriPositionOffset 2020-02-11 22:10:17 +00:00
core Replace DataSpec.absoluteStreamPosition with uriPositionOffset 2020-02-11 22:10:17 +00:00
dash Move assets from dash to testdata module 2020-02-11 17:12:21 +00:00
extractor Merge pull request #6949 from DolbyLaboratories:dev-v2-assets 2020-02-11 17:12:55 +00:00
hls Replace DataSpec.absoluteStreamPosition with uriPositionOffset 2020-02-11 22:10:17 +00:00
smoothstreaming Move asssets from smoothstreaming to testdata module 2020-02-11 17:10:03 +00:00
ui Apply minimal layout change according to view size 2020-02-11 17:12:29 +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.