April 14th, 2025
androidx.media3:media3-*:1.6.1
is released. Version 1.6.1 contains these commits.
PlaybackParameters.withPitch(float)
method for easily copying a PlaybackParameters
with a new pitch
value (#2257).ProgressiveMediaPeriod
throws an IllegalStateException
as PreloadMediaSource
attempts to call its getBufferedDurationUs()
before it is prepared (#2315).CmcdData
in manifest requests for DASH, HLS, and SmoothStreaming (#2253).AdPlaybackState.withAdDurationsUs(long[][])
can be used after ad groups have been removed. The user still needs to pass in an array of durations for removed ad groups which can be empty or null (#2267).alternate_group
from the tkhd
box and expose it as an Mp4AlternateGroupData
entry in each track's Format.metadata
(#2242).MediaSession
callbacks from 500 to 100 milliseconds and add an experimental setter to allow apps to configure this value.COMMAND_GET_TIMELINE
available while COMMAND_GET_CURRENT_MEDIA_ITEM
is available and the wrapped player is empty (#2320).MediaSessionService.setMediaNotificationProvider
is silently ignored after other interactions with the service like setForegroundServiceTimeoutMs
(#2305).PlayerSurface
to work with ExoPlayer.setVideoEffects
and CompositionPlayer
.PlayerSurface
can't be recomposed with a new Player
.CmcdData
for HLS media, causing an assertion failure when processing encrypted media segments (#2312).