media/extensions
andrewlewis aec5ff8be1 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 11:06:49 +01:00
..
av1 FFmpeg extension: Correctly pad input buffers 2020-05-14 22:20:55 +01:00
cast Remove overloaded set method 2020-06-17 22:20:16 +01:00
cronet Merge pull request #6861 from chrisfillmore:feature/responseBodyForInvalidResponseCodeException_6853 2020-06-01 15:00:08 +01:00
ffmpeg Rollback of 2aac0717d7 2020-06-12 00:26:26 +01:00
flac Align flags between the core and extension FLAC extractors 2020-06-23 11:05:37 +01:00
gvr [ExoV2 + Ambisonic] Adds ambisonic audio support to ExoV2. 2020-03-27 23:30:55 +00:00
ima Fix incorrect rounding of ad cue points 2020-06-23 11:06:49 +01:00
jobdispatcher Clean up debug logging 2020-06-04 14:16:22 +01:00
leanback Rollback of 63ae4cc54b 2020-06-23 11:06:22 +01:00
mediasession Rollback of 63ae4cc54b 2020-06-23 11:06:22 +01:00
okhttp Merge pull request #6861 from chrisfillmore:feature/responseBodyForInvalidResponseCodeException_6853 2020-06-01 15:00:08 +01:00
opus Rollback of 2aac0717d7 2020-06-12 00:26:26 +01:00
rtmp Upgrade Kotlin annotations and fix gradle warnings 2020-03-10 10:19:19 +00:00
vp9 FFmpeg extension: Correctly pad input buffers 2020-05-14 22:20:55 +01:00
workmanager Clean up debug logging 2020-06-04 14:16:22 +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.