media/extensions
bachinger 24125f7349 Use the ad group time as content position while playing an ad
The value returned by `player.getContentPosition()` is calculated
in the timeline based on the position of the first period in the
window. In a single period live stream this position is advanced
when the live window advances on timeline refresh.

This calculation has produced slightly varying values below 1000
us which are likely caused by us/ms truncations for public API
values that we use in the IMASSAIMediaSource.

However, `AdGroup.timeUs` is the (recorded) content position at the
moment when the first ad of the an ad group has been inserted. While
playing an ad, we can always use this value instead of
`getContentPosition()` to not require recalculation.

#minor-release

PiperOrigin-RevId: 515093177
2023-03-14 08:31:16 +00:00
..
av1 Add javadoc links to README files 2022-12-12 13:07:19 +00:00
cast Map PLAYER_STATE_LOADING to STATE_BUFFERING 2023-02-24 09:18:11 +00:00
cronet Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:10:21 +00:00
ffmpeg Add javadoc links to README files 2022-12-12 13:07:19 +00:00
flac Add javadoc links to README files 2022-12-12 13:07:19 +00:00
ima Use the ad group time as content position while playing an ad 2023-03-14 08:31:16 +00:00
leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-01 15:19:45 +00:00
media2 Add manifest to make gradle build work 2022-10-20 02:35:14 +00:00
mediasession Update translations 2023-03-01 17:46:46 +00:00
okhttp Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-25 22:19:11 +01:00
opus Add javadoc links to README files 2022-12-12 13:07:19 +00:00
rtmp Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-25 22:19:11 +01:00
vp9 Add set -eu to all shell scripts 2022-11-22 09:51:36 +00:00
workmanager Reformat some javadoc 2022-02-18 15:02:33 +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.