media/extensions
andrewlewis 0ffe747076 Fix incorrect rounding of ad cue points
We currently get float ad cue points from IMA, but store these as
longs in microseconds. The cast from double to long would take the
floor of the value, which could lead to stored ad cue points being
off-by-one. Use Math.round to avoid this.

ImaAdsLoader also has code to map a double AdPodInfo position (which
should match a cue point) onto the corresponding ad group index by
searching the long ad cue points. Match the calculation used where we
map float cue points, including narrowing the position to a float
first to avoid regressions if IMA SDK behavior changes to represent
positions in more than float precision later, and also remove the
requirement that the ad positions match exactly as a defensive
measure.

PiperOrigin-RevId: 317607017
2020-06-23 15:58:36 +01:00
..
av1 av1_extension: Add a heuristic to determine default thread count 2020-05-27 20:28:37 +01:00
cast Upgrade cast dependency 2020-04-08 21:52:38 +01:00
cronet Merge pull request #7324 from tpiDev:cronet/migrate-to-play-services-17-0-0 2020-05-29 21:15:17 +01:00
ffmpeg Consistency fixes for FFmpeg extension instructions 2020-03-30 18:31:24 +01:00
flac FLAC extension: remove sample rate check 2020-02-13 15:50:20 +00:00
gvr Fix audio processor draining for reconfiguration 2019-11-27 22:40:13 +00:00
ima Fix incorrect rounding of ad cue points 2020-06-23 15:58:36 +01:00
jobdispatcher Fix DownloadService resumption 2020-01-17 14:01:38 +00:00
leanback Fix incorrect anamorphic handling in Leanback extension 2019-10-30 08:50:49 +00:00
mediasession Add missing nullable annotations 2020-05-29 21:15:17 +01:00
okhttp Upgrade OkHttp to 3.12.11. 2020-05-29 21:15:17 +01:00
opus Parse opus gain correctly as a signed value 2020-03-30 18:31:24 +01:00
rtmp Make factories return specific types 2019-10-04 13:31:40 +01:00
vp9 Add troubleshooting instructions for decoding extensions 2019-12-20 16:59:52 +00:00
workmanager Update misc dependencies 2020-04-08 21:53:45 +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.