media/library
olly 845f54a467 Remove Cache.[get|set]ContentLength
Problem: There is nothing in the Cache interface that enforces that
these methods are implemented by reading/writing content metadata,
however our own code (CacheDataSource) relies on this property since
it mixes use of [get|set]ContentLength and use of metadata. Using
metadata is the right approach because it minimizes the number of
index writes (e.g. it allows the redirect URI and the content length
to be committed by a single write).

Solution: Remove [get|set]ContentLength, which are redundant anyway,
and use metadata everywhere. Also expose the keys being used through
the public API; there's no particular reason why they shouldn't be.
We previously had an API for getting and setting content length, but
no API for getting and setting redirect uri.
PiperOrigin-RevId: 225383211
2018-12-14 15:42:26 +00:00
..
all Migrate ExoPlayer Gradle build files. 2018-03-02 09:20:02 +00:00
core Remove Cache.[get|set]ContentLength 2018-12-14 15:42:26 +00:00
dash Remove TrackKey and its remaining usages. 2018-12-14 15:40:36 +00:00
hls Remove TrackKey and its remaining usages. 2018-12-14 15:40:36 +00:00
smoothstreaming Add FilterableMediaPeriod interface and SmoothStreaming implementation. 2018-12-14 15:41:57 +00:00
ui Add missing .. 2018-12-14 15:42:07 +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.