media/libraries
bachinger c0a8b944a6 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 07:45:41 +00:00
..
cast Map PLAYER_STATE_LOADING to STATE_BUFFERING 2023-02-27 17:59:16 +00:00
common Ignore live SSAI postroll placeholders in MediaPeriodQueue 2023-03-14 07:44:55 +00:00
database Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource Add missing @param tags 2023-03-07 11:49:24 +00:00
datasource_cronet Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_okhttp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_rtmp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_av1 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_ffmpeg Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_flac Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_opus Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_vp9 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
effect [Media3][Test] Add save location to test utils for bitmap utils 2023-03-14 07:43:56 +00:00
exoplayer Ignore live SSAI postroll placeholders in MediaPeriodQueue 2023-03-14 07:44:55 +00:00
exoplayer_dash Make DefaultDashChunkSource more robust against empty segment timelines 2023-03-07 15:52:07 +00:00
exoplayer_hls Add missing @param tags 2023-03-07 11:49:24 +00:00
exoplayer_ima Use the ad group time as content position while playing an ad 2023-03-14 07:45:41 +00:00
exoplayer_rtsp Catch IllegalArgumentExceptions in RTSP Response parsing 2023-02-13 14:18:53 +00:00
exoplayer_smoothstreaming Remove @see tags with <a> tags 2023-03-01 17:25:48 +00:00
exoplayer_workmanager Add javadoc links to README files 2022-12-12 11:19:23 +00:00
extractor Add missing @param tags 2023-03-07 11:49:24 +00:00
session Document that custom commands can only be sent if they are defined 2023-03-14 07:32:36 +00:00
test_data Pass Metadata to Muxer when adding a track. 2023-03-07 11:56:53 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Exclude test_session_{common,current} from API and Javadoc tests 2023-03-07 11:48:38 +00:00
test_session_current Exclude test_session_{common,current} from API and Javadoc tests 2023-03-07 11:48:38 +00:00
test_utils Ignore live SSAI postroll placeholders in MediaPeriodQueue 2023-03-14 07:44:55 +00:00
test_utils_robolectric Rollback of 7e63997459 2022-12-21 15:13:24 +00:00
transformer Split TransformerEndToEndTest 2023-03-14 07:42:55 +00:00
ui Fix lint-baseline.xml for latest UI translations 2023-03-02 17:21:16 +00:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-01 10:41:50 +00:00