media/libraries
tonihei 409c9f874c 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
2022-10-17 15:57:35 +00:00
..
cast Add device info to CastPlayer 2022-09-30 16:52:14 +00:00
common Remove late frame dropping in FrameProcessor 2022-10-17 15:41:25 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
datasource_cronet Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
datasource_okhttp Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
datasource_rtmp Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:21:36 +01:00
decoder_av1 Update CMake version for AV1 extension 2022-09-30 16:39:17 +00:00
decoder_ffmpeg Replace usage of android_binary with build_test for libraries 2022-09-30 16:57:17 +00:00
decoder_flac Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
decoder_opus Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
decoder_vp9 Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
effect Remove late frame dropping in FrameProcessor 2022-10-17 15:41:25 +00:00
exoplayer Ensure sessions without MediaPeriodId are ended after seek to new item 2022-10-17 15:57:35 +00:00
exoplayer_dash Fix 3 ErrorProneStyle findings: 2022-09-30 17:17:38 +00:00
exoplayer_hls Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
exoplayer_ima Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
exoplayer_rtsp Fix outdated RtpDataLoadable javadoc 2022-09-30 16:59:12 +00:00
exoplayer_smoothstreaming Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Add Cea608DecoderTest 2022-10-17 15:53:36 +00:00
session Migrate media constants from androidx.media.util.MediaConstants 2022-10-17 15:56:30 +00:00
test_data Add HSL Adjustments to the effects module. 2022-09-30 18:09:26 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Migrate media constants from androidx.media.util.MediaConstants 2022-10-17 15:56:30 +00:00
test_session_current Migrate media constants from androidx.media.util.MediaConstants 2022-10-17 15:56:30 +00:00
test_utils Test: Rename to avoid redundant substrings. 2022-09-30 18:31:56 +00:00
test_utils_robolectric Add timestamp to Metadata 2022-07-04 19:36:57 +00:00
transformer Remove supportsSampleMimeType from Muxer.Factory 2022-10-17 15:54:39 +00:00
ui Use the current overrides of the player as preset 2022-07-21 12:39:46 +00:00
ui_leanback Update Leanback library 2022-08-02 19:01:58 +00:00