media/extensions
andrewlewis 6c3b677ddb Catch exceptions in all IMA callbacks
If an exception is thrown in an IMA callback it crashes the process with lots of
logging from WebView (including several stack traces, etc.). This change wraps
ImaAdsLoader code that might throw, skips any remaining ads (as the errors are
not recoverable, in general) and notifies a new load error callback so that the
application can implement its own handling. The intention is to make the loader
robust to unexpected requests from IMA and avoid crashes.

Also handle IMA loading an ad in an ad group that has no available ads. In rare
cases IMA will try to load an ad for which an error was previously notified, so
this drops those load requests allowing playback of the content to continue.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=185985850
2018-02-19 13:20:15 +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 Move (almost all) remaining core library instrumentation tests to Robolectric. 2018-02-16 11:46:34 +00:00
gvr Allow setting output sample rate in SonicAudioProcessor 2017-10-17 18:24:53 +01:00
ima Catch exceptions in all IMA callbacks 2018-02-19 13:20:15 +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 Translation console import 2018-02-16 11:47:49 +00:00
okhttp Update dependency versions 2017-09-15 23:23:16 +01:00
opus Link libopus statically with libopusJNI 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.