media/library
tonihei 739fd5f5bb Include startMediaTime in media position checkpoints.
We currently apply new parameter checkpoints from an absolute media
time and then substract the current media start time again to retrieve
the media time offset for this playback parameter checkpoint.

However, the media start time may change when unexpected discontinuities
happen (the start time doesn't actually change, but we change it to
correct for this discontinuity). This then invalidates the absolute
media time in the playback parameter checkpoints (which should have been
corrected as well).

Avoid this problem by also only applying the new start position
from the checkpoint. We don't have to save the start position anymore
because it will cancel itself out.

Also add some documentation and code clarification for improved
readability.

PiperOrigin-RevId: 291923069
2020-01-28 16:56:35 +00:00
..
all Use new exoplayer.dev domain everywhere. 2019-04-16 15:25:27 +01:00
common Make LongArray tests a bit more concise 2020-01-28 16:55:59 +00:00
core Include startMediaTime in media position checkpoints. 2020-01-28 16:56:35 +00:00
dash Fix some blaze warnings 2020-01-24 11:11:56 +00:00
extractor Add IndexSeeker to MP3 extractor 2020-01-28 16:55:50 +00:00
hls make media source factories reusable 2020-01-17 16:12:41 +00:00
smoothstreaming Make resolveSeekPositionUs an instance method 2020-01-24 11:10:56 +00:00
ui Split some of SubtitleView out into SubtitleTextView 2020-01-28 16:56:17 +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.