media/extensions
andrewlewis 6fc70149b5 Fix ad group skipping
Allow skipping an ad group when requested by IMA, even if we aren't currently
playing one, to handle cases where no ads in an ad group will load (so IMA
requests resuming content but we never managed to start playing an ad).

Use the known ad group index (rather than the expected one) when handling ad
group load errors. This ensures we skip the right ad group if we notify IMA of
playback errors for every ad in the ad group, then IMA notifies that the ad
group is empty via a load error.

Also make some other miscellaneous small fixes to ads code:

- Avoid warning about unexpected ad group indices more than once.
- Output a warning if the ad count in an ad group decreases.
- Remove unnecessary assertion.
- Fix getting the ad duration for ad indices that haven't loaded yet.
- Allow setting an ad group state to its current value.
- Fix javadoc for setting the ad resume position.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=184831495
2018-02-08 14:49:00 +00:00
..
cast Fix dependency in cast extension 2018-02-01 15:31:24 +00:00
cronet Prevent "unexpected read attempt" illegal state exception 2018-02-08 14:49:00 +00:00
ffmpeg Don't kill the process if SimpleDecoder.decode throws. 2018-01-04 15:44:00 +00:00
flac Add proper exception checks when returning to native from Java. 2018-02-01 15:22:32 +00:00
gvr Allow setting output sample rate in SonicAudioProcessor 2017-10-17 18:24:53 +01:00
ima Fix ad group skipping 2018-02-08 14:49:00 +00:00
jobdispatcher Open source DownloadService, DownloadManager and related classes 2018-02-08 14:47:54 +00:00
leanback Make play button behave differently in IDLE and ENDED states 2018-01-23 19:07:52 +00:00
mediasession Add descriptions for strings. 2018-02-01 14:56:18 +00:00
okhttp Update dependency versions 2017-09-15 23:23:16 +01:00
opus Update internal opus build 2018-02-08 14:49:00 +00:00
rtmp Update version of rtmp-client to 3.0.1 2018-01-24 10:51:31 +00:00
vp9 Reduce Libvpx output buffers to 8, to reduce the chances of out of memory errors. 2018-02-08 14:49:00 +00: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.