Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.2.1
->1.3.0
1.2.1
->1.3.0
1.2.1
->1.3.0
1.2.1
->1.3.0
1.2.1
->1.3.0
1.2.1
->1.3.0
1.2.1
->1.3.0
Release Notes
androidx/media (androidx.media3:media3-ui)
v1.3.0
Compare Source
This release includes the following changes since the
1.2.1 release:
android.resource://package/[type/]name
rawresource URIs where
package
is different to the package of the currentapplication. This has always been documented to work, but wasn't
correctly implemented until now.
lower-case.
MediaItem
instead of a singleUri
inAdPlaybackState
.minSdk
to 19 (Android KitKat). This isaligned with all other AndroidX libraries,
and is required for us to upgrade to the latest versions of our AndroidX
dependencies.
artworkUri
andartworkData
inMediaMetadata.Builder.populate(MediaMetadata)
when at least one ofthem is non-null (#964).
PreloadMediaSource
andPreloadMediaPeriod
that allows apps topreload a content media source at a specific start position before
playback.
PreloadMediaSource
takes care of preparing the content mediasource to receive the
Timeline
, preparing and caching the period atthe given start position, selecting tracks and loading media data for
the period. Apps control the preload progress by implementing
PreloadMediaSource.PreloadControl
and set the preloaded source to theplayer for playback.
ExoPlayer.setImageOutput
that allows apps to setImageRenderer.ImageOutput
.DefaultRenderersFactory
now provides anImageRenderer
to the playerby default with null
ImageOutput
andImageDecoder.Factory.DEFAULT
.Player.Listener.onPositionDiscontinuity
event when silence isskipped (#765).
can enable this using
MediaSource.Factory.experimentalParseSubtitlesDuringExtraction()
.PreloadMediaSource
.HttpEngineDataSource
, anHttpDataSource
using theHttpEngine
API.
CompositeSequenceableLoader
. This component waspreviously made extensible
but was never subclassed within the library. Customizations can be done
by wrapping an instance using the
decorator pattern and
implementing a custom
CompositeSequenceableLoaderFactory
.to be cleared (#1007).
experimentalSetSubtitleParserFactory
methods onBundledChunkExtractor.Factory
andDefaultHlsExtractorFactory
tosetSubtitleParserFactory
and disallow passingnull
. Use the newexperimentalParseSubtitlesDuringExtraction(boolean)
methods to controlparsing behaviour.
SubtitleParser.Factory
used duringextraction. This can be achieved with
MediaSource.Factory.setSubtitleParserFactory()
.Format.id
fields generated fromMergingMediaSource
. This helps to identify which source produced aFormat
(#883).key names by modifying it to only check for hyphen
(#1028).
(#1075).
make the output of trimming operations more compatible with player
implementations that don't show the first video frame until its
presentation timestamp
(#829).
output file. Fixes output files beginning with black frame on iOS based
players (#829).
DefaultTrackSelector.selectImageTrack
to enable image trackselection.
TrackSelectionParameters.isPrioritizeImageOverVideoEnabled
todetermine whether to select an image track if both an image track and a
video track are available. The default value is
false
which meansselecting a video track is prioritized.
ColorInfo.colorSpace
,ColorInfo.colorTransfer
, andColorInfo.colorRange
values(#692).
Info
header(the CBR equivalent of the
Xing
header). Previously we used the seektable from the
Info
header, but this results in less precise seekingthan if we ignore it and assume the file is CBR.
(#275).
allowing users to make better-informed audio track selections
(#973).
minimal silence and more natural silence durations
(#7423).
(#1035).
MediaCodecVideoRenderer
constructor that takes aVideoFrameProcessor.Factory
argument and replace it with a constructorthat takes a
VideoSinkProvider
argument. Apps that want to inject acustom
VideoFrameProcessor.Factory
can instantiate aCompositingVideoSinkProvider
that uses the customVideoFrameProcessor.Factory
and pass the video sink provider toMediaCodecVideoRenderer
.Tried to marshall a Parcel that contained Binder objects
error when usingDefaultExtractorsFactory.setTextTrackTranscodingEnabled
(#836).
rowLock
value. The CEA-708-E S-2023 spec states thatrowLock
andcolumnLock
should both be assumed to be true, regardlessof the values present in the stream (
columnLock
support is notimplemented, so it's effectively assumed to always be false).
thumbnails are provided to
ImageOutput
close to their presentationtimes.
default, even if the keys for the later encrypted samples aren't ready
yet. This may lead to mid-playback stalls if the keys still aren't ready
when the playback position reaches the encrypted samples (but previously
playback wouldn't have started at all by this point). This behavior can
be disabled with
MediaItem.DrmConfiguration.Builder.setPlayClearContentWithoutKey
or
DefaultDrmSessionManager.Builder.setPlayClearSamplesWithoutKeys
.can't be played.
(#962).
MediaItem.RequestMetadata
with just non-null extras isnot transmitted between media controllers and sessions.
MediaLibrarySession.Builder
that only takes aContext
instead of aMediaLibraryService
.HlsMediaPeriod
to package-private visibility. This typeshouldn't be directly depended on from outside the HLS package.
(#1031).
(#710).
TestPlayerRunHelper.playUntilPosition
. Thetest keeps the playback in a playing state, but suspends progress until
the test is able to add assertions and further actions.
PreloadMediaSource
with the short-form content use case.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.