media/extensions
andrewlewis 1094da2b61 Fix player state transitions for postroll ads
Before this change, the player state would be STATE_ENDED then
STATE_BUFFERING (when the postroll ad was marked as played) then
STATE_ENDED again.

Queueing a final content media period with start point equal to
the content duration after a postroll ensures that the player
state doesn't change to STATE_ENDED transiently.

Switch from using C.TIME_END_OF_SOURCE to C.TIME_UNSET for media
periods that should not have an end point and are not followed
by an ad.

Content media periods before postrolls have end position
C.TIME_END_OF_SOURCE. If the postroll ad loads, its content
position is set to the content duration, which should be known
at the point of loading the postroll, then a final 'empty'
content media period with start position equal to its duration
is queued. If the postroll fails to load, this empty content
media period is queued up directly after the preceding content
media period.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=219443683
2018-10-31 13:54:15 +00:00
..
cast Remove the Uri suffix from MediaItem.DrmScheme.licenseServerUri 2018-10-24 18:32:49 +01:00
cronet Add @Documented to @IntDef and @StringDef annotations. 2018-10-01 19:22:34 +01:00
ffmpeg Fix handling of text codecs strings in DashManifestParser 2018-08-13 14:06:57 +01:00
flac Make context non-optional for DefaultBandwidthMeter 2018-10-24 18:15:53 +01:00
gvr Add support for playing spherical videos on Daydream 2018-10-31 13:42:19 +00:00
ima Fix player state transitions for postroll ads 2018-10-31 13:54:15 +00:00
jobdispatcher Add wrapper for Log messages to allow settig the log level. 2018-09-20 12:12:21 +01:00
leanback Add missing Nullable annotation Player.EventListener.onTimelineChanged 2018-08-01 13:49:21 +01:00
mediasession Update moe equivalence 2018-10-03 21:59:44 +01:00
okhttp Add static Util.EMPTY_BYTE_ARRAY 2018-09-12 14:57:01 +01:00
opus Make context non-optional for DefaultBandwidthMeter 2018-10-24 18:15:53 +01:00
rtmp Clean up use of deprecated APIs 2018-08-24 16:12:44 +01:00
vp9 vp9_extension: Enable fast loop filtering 2018-10-24 18:34:29 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer extensions

ExoPlayer extensions are modules that depend on external libraries to provide additional functionality. Browse the individual extensions and their READMEs to learn more.