media/libraries
tonihei 9608ae4e3d Add LivePositionSupplier util to SimpleBasePlayer
In some cases the position is supplied from a "live" source
that keeps changing its value at repeated calls. This typically
happens when forwarding to another backend with unpredictable
position values. The problem is that as soon as the backend
system has a position discontinuity, any previously created
PositionSupplier now returns a position that no longer makes
sense in the context of the State object it belongs to.

ForwardingSimpleBasePlayer already works around this issue by
having a util class to disconnect these live sources. This
change moves the same util to SimpleBasePlayer itself so it
can be reused by other implementations.

PiperOrigin-RevId: 713658046
2025-01-09 07:05:21 -08:00
..
cast Remove @DoNotInline annotations 2024-09-18 04:47:39 -07:00
common Add LivePositionSupplier util to SimpleBasePlayer 2025-01-09 07:05:21 -08:00
common_ktx Add jvmTarget and kotlin-android plugin to common_ktx module 2024-08-15 10:36:10 -07:00
container Read sample dependencies for H.265 in MP4 2025-01-08 04:55:31 -08:00
database Enable lint errors in database tests 2024-12-04 03:55:33 -08:00
datasource Enable lint errors in datasource tests 2024-12-03 10:07:19 -08:00
datasource_cronet DataSourceContractTest: Tighten assertions around 'not found' URIs 2024-10-24 03:49:27 -07:00
datasource_okhttp DataSourceContractTest: Tighten assertions around 'not found' URIs 2024-10-24 03:49:27 -07:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder MediaCodecVideoRenderer skips decoder inputs unused as reference 2024-07-09 03:43:06 -07:00
decoder_av1 Add missing DefaultRenderersFactoryTest for decoder extensions 2024-10-30 05:33:38 -07:00
decoder_ffmpeg Add 16 KB page support for decoder extensions on Android 15 2024-10-10 10:18:20 -07:00
decoder_flac Set container MIME type for audio-only extractors 2024-11-14 10:03:17 -08:00
decoder_iamf Enable lint errors in tests for remaining playback modules 2024-12-04 08:08:01 -08:00
decoder_midi Use ForwardingTrackOutput in MidiExtractor 2024-12-03 07:14:58 -08:00
decoder_mpegh Merge Issue: androidx/media#1826: add extension for MPEG-H decoding 2024-10-24 09:53:45 -07:00
decoder_opus Removed empty line 2024-12-11 14:47:04 +00:00
decoder_vp9 Add 16 KB page support for decoder extensions on Android 15 2024-10-10 10:18:20 -07:00
effect Make auto frame registration test non-flaky 2025-01-09 04:21:39 -08:00
exoplayer Remove setPendingVideoEffects from VideoSink. 2025-01-09 04:48:21 -08:00
exoplayer_dash Discard already written sample data for clipped DASH periods 2025-01-08 07:47:54 -08:00
exoplayer_hls Merge pull request #1785 from DolbyLaboratories:dlb/dovi-supplemental-codecs/dev 2025-01-07 04:58:21 -08:00
exoplayer_ima Add client side post roll placeholder 2024-12-17 09:59:16 -08:00
exoplayer_rtsp Enable lint errors in tests for remaining playback modules 2024-12-04 08:08:01 -08:00
exoplayer_smoothstreaming Refactor CmcdData to handle object type determination internally 2024-12-12 04:36:16 -08:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Read sample dependencies for H.265 in MP4 2025-01-08 04:55:31 -08:00
muxer Remove TrackToken and replace with int trackId 2025-01-07 10:16:31 -08:00
session Do not override pending info when masking 2025-01-07 08:26:19 -08:00
test_data Implement transfer of resources API for renderer pre-warming 2025-01-08 12:12:48 -08:00
test_exoplayer_playback Enable lint errors in tests for remaining playback modules 2024-12-04 08:08:01 -08:00
test_session_common Add media button preferences 2024-10-17 09:54:36 -07:00
test_session_current Do not override pending info when masking 2025-01-07 08:26:19 -08:00
test_utils Implement transfer of resources API for renderer pre-warming 2025-01-08 12:12:48 -08:00
test_utils_robolectric Add TestPlayerRunHelper run(player).untilFullyBuffered 2024-11-06 02:45:51 -08:00
transformer Remove setPendingVideoEffects from VideoSink. 2025-01-09 04:48:21 -08:00
ui Change lib-common dependency scope to api in lib-ui 2024-11-06 08:21:16 -08:00
ui_compose [ui-compose] Fix PlayerSurface's use of Player 2025-01-08 06:07:14 -08:00
ui_leanback Bump effect and leanback minSdk to 19 2024-01-10 07:22:00 -08:00
lint.xml Enable lint in lib-common tests 2024-11-04 04:16:39 -08:00