media/library
tonihei b3627361f5 Ensure sessions without MediaPeriodId are ended after seek to new item
We already have logic to end all session except the current one if the
current one doesn't have a MediaPeriodId yet. This is assuming that this
only happens after a seek on the app side where the player doesn't have
detailled knowledge about the MediaPeriodIds yet.

Currently this logic isn't triggered if the window we are coming from
doesn't have its MediaPeriodId either as we run into another check that
keeps sessions around until we have a valid windowSequenceNumber.

Swapping both conditions fixes this case without breaking any of the
other known transition scenarios.

Issue: androidx/media#180
PiperOrigin-RevId: 480866465
(cherry picked from commit 6070d9110a)
2022-10-13 12:29:51 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Remove late frame dropping in FrameProcessor 2022-10-07 17:29:15 +00:00
core Ensure sessions without MediaPeriodId are ended after seek to new item 2022-10-13 12:29:51 +00:00
dash Fix 3 ErrorProneStyle findings: 2022-08-31 08:29:19 +00:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
extractor Add Cea608DecoderTest 2022-10-12 16:31:35 +00:00
hls Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 16:24:07 +01:00
rtsp Fix outdated RtpDataLoadable javadoc 2022-08-23 13:41:49 +00:00
smoothstreaming Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 16:24:07 +01:00
transformer Remove supportsSampleMimeType from Muxer.Factory 2022-10-13 09:52:26 +00:00
ui Use the current overrides of the player as preset 2022-07-18 10:36:01 +00:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.