media/library
olly 68ee587e25 Constrain resolved period positions to be within the period
This is a candidate fix for #8906. As mentioned in that issue,
negative positions within windows might be (kind of) valid in
live streaming scenarios, where the window starts at some
non-zero position within the period. However, negative positions
within periods are definitely not valid. Neither are positions
that exceed the period duration.

There was already logic in ExoPlayerImplInternal to prevent a
resolved seek position from exceeding the period duration. This
fix adds the equivalent constraint for the start of the period.
It also moves the application of the constraints into Timeline.
This has the advantage that the constraints are applied as part
of state masking in ExoPlayerImpl.seekTo, removing any UI flicker
where the invalid seek position is temporarily visible.

Issue: #8906
PiperOrigin-RevId: 395917413
2021-09-10 15:11:52 +01:00
..
all Include RTSP module in gradle project 2021-05-10 23:41:50 +01:00
common Constrain resolved period positions to be within the period 2021-09-10 15:11:52 +01:00
core Constrain resolved period positions to be within the period 2021-09-10 15:11:52 +01:00
dash Select base URL on demand when a new chunk is created 2021-09-09 18:19:51 +01:00
extractor Add seeking support to the SubtitleExtractor 2021-09-08 17:16:31 +01:00
hls Fix poor documentation and variable name choice in StreamKey 2021-09-08 17:08:56 +01:00
rtsp Fix RTSP session header parsing regex error. 2021-09-10 15:09:50 +01:00
smoothstreaming Fix poor documentation and variable name choice in StreamKey 2021-09-08 17:08:56 +01:00
transformer Rename transformer renderer methods to make them match 2021-09-08 17:20:25 +01:00
ui Update PlayerView's UI when available commands change 2021-09-08 16:58:44 +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.