media/libraries
tonihei e0191ddded Fix spurious sessions created for events after the playlist is cleared
Some events may arrive after the playlist is cleared (e.g. load
cancellation). In this case, the DefaultPlaybackSessionManager may
create a new session for the already removed item.

We already have checks in place that ignore events with old
windowSequenceNumbers, but these checks only work if the current
session is set (i.e. the playlist is non-empty). The fix is to add
the same check for empty playlists by keeping note of the last
removed window sequence number.

PiperOrigin-RevId: 541870812
2023-06-20 14:08:06 +01:00
..
cast Replace deprecated NullableType from checkerframework with our own one 2023-06-19 16:08:20 +01:00
common Fix two more unresolved SVGs in Timeline.Window and Timeline.Period 2023-06-20 14:06:02 +01:00
container Replace CreationTime class with Mp4TimestampData class 2023-06-14 20:42:36 +01:00
database Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource Replace deprecated NullableType from checkerframework with our own one 2023-06-19 16:08:20 +01:00
datasource_cronet Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_okhttp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Clear buffer's timeUs when setting end-of-stream in SampleQueue 2023-06-20 13:58:29 +01:00
decoder_av1 Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_ffmpeg Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_flac Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_midi Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_opus Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_vp9 Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
effect GL: Rename GL methods. 2023-06-19 16:29:03 +01:00
exoplayer Fix spurious sessions created for events after the playlist is cleared 2023-06-20 14:08:06 +01:00
exoplayer_dash Refactor method CmcdLog.createInstance to accept bufferedDurationUs 2023-06-19 16:19:04 +01:00
exoplayer_hls Refactor method CmcdLog.createInstance to accept bufferedDurationUs 2023-06-19 16:19:04 +01:00
exoplayer_ima Fix splitting ad playback state for partial ad group when joining 2023-06-10 20:23:56 +00:00
exoplayer_rtsp Replace deprecated NullableType from checkerframework with our own one 2023-06-19 16:08:20 +01:00
exoplayer_smoothstreaming Refactor method CmcdLog.createInstance to accept bufferedDurationUs 2023-06-19 16:19:04 +01:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Remove UdtaInfo class 2023-06-20 14:00:50 +01:00
muxer Remove copying sample data in Mp4Muxer 2023-06-19 16:18:09 +01:00
session Default RepeatMode for conversion is NONE/OFF 2023-06-19 16:13:39 +01:00
test_data Remove UdtaInfo class 2023-06-20 14:00:50 +01:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Rollback of 7956c80f73 2023-06-19 16:09:13 +01:00
test_session_current Rollback of 7956c80f73 2023-06-19 16:09:13 +01:00
test_utils Make FakeClock Espresso and Compose UI test compatible 2023-06-20 14:03:06 +01:00
test_utils_robolectric Replace deprecated NullableType from checkerframework with our own one 2023-06-19 16:08:20 +01:00
transformer Increase pixel difference 2023-06-20 14:05:07 +01:00
ui Player.Listener implementation to resolve playback suppression on Wear. 2023-06-20 14:02:05 +01:00
ui_leanback Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00