media/library/src/main/java/com/google/android/exoplayer2
aquilescanta aaf38adc26 Add support for HLS live seeking
In order to expose the live window, it is necessary (unlike before) to refresh
the live playlists being played periodically so as to know where the user can
seek to. For this, the HlsPlaylistTracker is added, which is basically a map
from HlsUrl's to playlist. One of the playlists involved in the playback will
be chosen to define the live window. The playlist tracker it periodically.
The rest of the playilst will be loaded lazily. N.B: This means that for VOD,
playlists are not refreshed at all. There are three important features missing
in this CL(that will be added in later CLs):

* Blacklisting HlsUrls that point to resources that return 4xx response codes.
    As per [Internal: b/18948961].
* Allow loaded chunks to feed timestamps back to the tracker, to fix any
    drifting in live playlists.
* Dinamically choose the HlsUrl that points to the playlist that defines the
    live window.

Other features:
--------------

The tracker can also be used for keeping track of discontinuities. In the case
of single variant playlists, this is particularly useful. Might also work if
there is a that the live playlists are aligned (but this is more like working
around the issue, than actually solving it). For this, see [Internal: b/32166568]
and [Internal: b/28985320].

Issue:#87

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=138054302
2016-11-10 20:54:03 +00:00
..
audio Fix/suppress some analysis warnings. 2016-10-24 11:44:49 +01:00
decoder Use @IntDef where possible. 2016-09-28 11:25:02 +01:00
drm Fix Widevine L3 provisioning in V2 2016-10-14 10:42:43 +01:00
extractor Add artwork support to SimpleExoPlayerView + misc improvements 2016-10-27 12:47:26 +01:00
mediacodec Blacklist another non-OMX decoder 2016-10-24 18:43:15 +01:00
metadata Big cleanup of mp4 metadata extraction 2016-10-26 23:45:50 +01:00
source Add support for HLS live seeking 2016-11-10 20:54:03 +00:00
text Fix/suppress some analysis warnings. 2016-10-24 11:44:49 +01:00
trackselection Report track groups and selections through ExoPlayer 2016-10-27 12:27:55 +01:00
ui Fixes for Issue #1962 2016-10-31 19:49:54 +00:00
upstream Fix/suppress some analysis warnings. 2016-10-24 11:44:49 +01:00
util Big cleanup of mp4 metadata extraction 2016-10-26 23:45:50 +01:00
video Improve profile/level check support for AVC 2016-09-08 16:29:48 +01:00
BaseRenderer.java Fix a bunch more Javadoc 2016-08-31 15:25:24 +01:00
C.java Use @IntDef where possible. 2016-09-28 11:25:02 +01:00
DefaultLoadControl.java Report track groups and selections through ExoPlayer 2016-10-27 12:27:55 +01:00
ExoPlaybackException.java Use @IntDef where possible. 2016-09-28 11:25:02 +01:00
ExoPlayer.java Report track groups and selections through ExoPlayer 2016-10-27 12:27:55 +01:00
ExoPlayerFactory.java Report track groups and selections through ExoPlayer 2016-10-27 12:27:55 +01:00
ExoPlayerImpl.java Report track groups and selections through ExoPlayer 2016-10-27 12:27:55 +01:00
ExoPlayerImplInternal.java Report track groups and selections through ExoPlayer 2016-10-27 12:27:55 +01:00
ExoPlayerLibraryInfo.java Bump version to r2.0.4 2016-10-20 12:20:10 +01:00
Format.java Minor ID3 tweaks 2016-10-12 17:27:54 +01:00
FormatHolder.java Fix a bunch more Javadoc 2016-08-31 15:25:24 +01:00
LoadControl.java Report track groups and selections through ExoPlayer 2016-10-27 12:27:55 +01:00
ParserException.java Fix a bunch more Javadoc 2016-08-31 15:25:24 +01:00
Renderer.java Fix a bunch more Javadoc 2016-08-31 15:25:24 +01:00
RendererCapabilities.java Fix a bunch more Javadoc 2016-08-31 15:25:24 +01:00
SimpleExoPlayer.java Merge branch 'dev-v2-id3' into dev-v2 2016-10-27 12:37:22 +01:00
Timeline.java Fix some typos/consistency nits. 2016-09-13 17:41:24 +01:00