Update dependency com.google.android.exoplayer:exoplayer-transformer to v2.19.1 #23
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:
2.18.7->2.19.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
google/ExoPlayer (com.google.android.exoplayer:exoplayer-transformer)
v2.19.1This is the last planned release of the
com.google.android.exoplayer2artifacts. This project is now deprecated. All users should migrate to
androidx.media3(which contains the same ExoPlayer code). Seethe migration guide
for more details, including a script to help with the migration.
This release corresponds to the
AndroidX Media3 1.1.1 release.
multidexdependency from all modules(#499).
PlaybackStatsListenerwhere spuriousPlaybackStatsarecreated after the playlist is cleared.
streaming format (sf), stream type (st), version (v), top birate (tb),
object duration (d), measured throughput (mtp) and object type (ot)
(#8699).
Player.getState()never transitioned toSTATE_ENDEDwhen playing very short files
(#538).
offloaded Opus playback in accordance with RFC 7845.
Previously indent and tab offset were included when limiting the cue
length to 32 characters (which was technically correct by the spec)
(#11019).
v2.19.0This release corresponds to the
AndroidX Media3 1.1.0 release.
change reason for suppressed too long.
(#15).
COMMAND_GET_METADATACOMMAND_SET_PLAYLIST_METADATACOMMAND_SET_DEVICE_VOLUME_WITH_FLAGSCOMMAND_ADJUST_DEVICE_VOLUME_WITH_FLAGSflags:
void setDeviceVolume(int, int)void increaseDeviceVolume(int)void decreaseDeviceVolume(int)void setDeviceMuted(boolean, int)BuilderforDeviceInfoand deprecate existing constructor.DeviceInfo.routingControllerIdto specify the routing controllerID for remote playbacks.
Player.replaceMediaItem(s)as a shortcut to adding and removingitems at the same position
(#8046).
explicitly opted in. Use
ExoPlayer.Builder.setDeviceVolumeControlEnabledto have access to:getDeviceVolume()isDeviceMuted()setDeviceVolume(int)andsetDeviceVolume(int, int)increaseDeviceVolume(int)andincreaseDeviceVolume(int, int)decreaseDeviceVolume(int)anddecreaseDeviceVolume(int, int)FilteringMediaSourcethat allows to filter available track typesfrom a
MediaSource.outgoing requests of adaptive streaming formats DASH, HLS, and
SmoothStreaming. The following fields,
br,bl,cid,rtp, andsid, have been incorporated(#8699). API
structure and API methods:
MediaSource.Factory.setCmcdConfigurationFactory(CmcdConfiguration.Factory cmcdConfigurationFactory)to enable it.CmcdConfiguration.RequestConfig.isKeyAllowed(String key)to filterout which keys are logged.
CmcdConfiguration.RequestConfig.getCustomData()to enablecustom key logging.
start the demo app with a custom
*.exolist.jsonfile(#439).
ExoPlayer.setVideoEffects()for usingEffectduring videoplayback.
SampleQueueto storesourceIdas alongrather than anint. This changes the signatures of public methodsSampleQueue.sourceIdandSampleQueue.peekSourceId.LoadControlmethodsshouldStartPlaybackandonTracksSelectedthat allow associating these methods with therelevant
MediaPeriod.ServerSideAdInsertionMediaSource.setAdPlaybackStates(Map<Object, AdPlaybackState>)by adding a timeline parameter that contains theperiods with the UIDs used as keys in the map. This is required to avoid
concurrency issues with multi-period live streams.
EventDispatcher.withParameters(int windowIndex, @​Nullable MediaPeriodId mediaPeriodId, long mediaTimeOffsetMs)andBaseMediaSource.createEventDispatcher(..., long mediaTimeOffsetMs).The variant of the methods without the
mediaTimeOffsetUscan be calledinstead. Note that even for the deprecated variants, the offset is not
anymore added to
startTimeUsandendTimeUsof theMediaLoadDataobjects that are dispatched by the dispatcher.
ExoTrackSelection.blacklisttoexcludeTrackandisBlacklistedtoisTrackExcluded.ExoPlayer.setMediaItem(s)andaddMediaItem(s)when called on an empty playlist.Transformer.Builder.setMediaSourceFactory(MediaSource.Factory).Use
ExoPlayerAssetLoader.Factory(MediaSource.Factory)andTransformer.Builder.setAssetLoaderFactory(AssetLoader.Factory)instead.
Transformer.startTransformation(MediaItem, ParcelFileDescriptor).timeout) if the end of the video stream was signaled at the moment when
an input frame was pending processing.
MediaCodecListinstead of usingfindDecoder/EncoderForFormatutilities, to expand support.DefaultEncoderFactorybecause itdoesn't work on some devices.
DefaultTrackSelector.Parameters.allowInvalidateSelectionsForRendererCapabilitiesChangewhich is disabled by default. When enabled, the
DefaultTrackSelectorwill trigger a new track selection when the renderer capabilities
changed.
(#391).
TimestampAdjusterinitializes a wrong timestampoffset with metadata sample time from emsg atom
(#356).
AudioProcessorsare active, e.g. for gapless trimming(#10847).
Renderer.release()andAudioSink.release()for releasing theresources at the end of player's lifecycle.
DefaultAudioSink. Add arequired parameter
contextin the constructor ofDefaultAudioSink,with which the
DefaultAudioSinkwill register as the listener to theAudioCapabilitiesReceiverand update itsaudioCapabilitiespropertywhen informed with a capabilities change.
onAudioCapabilitiesChangedinAudioSink.Listenerinterface, and anew interface
RendererCapabilities.Listenerwhich triggersonRendererCapabilitiesChangedevents.ChannelMixingAudioProcessorfor applying scaling/mixing to audiochannels.
DISCARD_REASON_AUDIO_BYPASS_POSSIBLEtoDecoderDiscardReasonsto discard audio decoder when bypass mode ispossible after audio capabilities change.
(#335).
MediaCodecVideoRendererreport aVideoSizewith a width andheight of 0 when the renderer is disabled.
Player.Listener.onVideoSizeChangedis called accordingly whenPlayer.getVideoSize()changes. With this change, ExoPlayer's videosize with
MediaCodecVideoRendererhas a width and height of 0 whenPlayer.getCurrentTracksdoes not support video, or the size of thesupported video track is not yet determined.
DefaultDrmSessionthat aren't expected to be called from outside theDRM package:
void onMediaDrmEvent(int)void provision()void onProvisionCompleted()onProvisionError(Exception, boolean)file.
current implementation does not yet support seeking in live streams
(#10912).
calculated content position in consecutive timelines varies slightly.
shouldShowPlayButtonandhandlePlayPauseButtonActionto write custom UI elements with aplay/pause button.
Response SDP message
(#302).
present in DESCRIBE response header
(#11160).
MediaLoadData.startTimeMsandMediaLoadData.endTimeMsfor multi period DASH streams.produced a
IndexOutOfBoundsException(#10838).
HlsMediaSource.Factory.setTimestampAdjusterInitializationTimeoutMs(long)to set a timeout for the loading thread to wait for the
TimestampAdjusterto initialize. If the initialization doesn'tcomplete before the timeout, a
PlaybackExceptionis thrown to avoidthe playback endless stalling. The timeout is set to zero by default
(#323).
DataSourceContractTest.DefaultAudioSinkconstructors, useDefaultAudioSink.Builderinstead.
HlsMasterPlaylist, useHlsMultivariantPlaylistinstead.Player.stop(boolean). UsePlayer.stop()andPlayer.clearMediaItems()(ifresetistrue) instead.SimpleCacheconstructors, use a non-deprecatedconstructor that takes a
DatabaseProviderinstead for betterperformance.
DefaultBandwidthMeterconstructor, useDefaultBandwidthMeter.Builderinstead.DefaultDrmSessionManagerconstructors, useDefaultDrmSessionManager.Builderinstead.HttpDataSource.InvalidResponseCodeExceptionconstructors, use a non-deprecated constructor that accepts additional
fields(
cause,responseBody) to enhance error logging.DownloadHelper.forProgressive,DownloadHelper.forHls,DownloadHelper.forDash, andDownloadHelper.forSmoothStreaming, useDownloadHelper.forMediaIteminstead.DownloadServiceconstructor, use a non deprecatedconstructor that includes the option to provide a
channelDescriptionResourceIdparameter.ASCII_NAME,UTF8_NAME,ISO88591_NAME,UTF16_NAMEandUTF16LE_NAME), useKotlin Charsets from the
kotlin.textpackage, thejava.nio.charset.StandardCharsetsor thecom.google.common.base.Charsetsinstead.WorkManagerSchedulerconstructor, use a nondeprecated constructor that includes the option to provide a
Contextparameter instead.
createVideoSampleFormat,createAudioSampleFormat,createContainerFormat, andcreateSampleFormat, which were used to instantiate theFormatclass.Instead use
Format.Builderfor creating instances ofFormat.copyWithMaxInputSize,copyWithSubsampleOffsetUs,copyWithLabel,copyWithManifestFormatInfo,copyWithGaplessInfo,copyWithFrameRate,copyWithDrmInitData,copyWithMetadata,copyWithBitrateandcopyWithVideoSize, useFormat.buildUpon()andsetter methods instead.
ExoPlayer.retry(), useprepare()instead.DefaultTrackSelectorconstructor, useDefaultTrackSelector(Context)instead.OfflineLicenseHelperconstructor, useOfflineLicenseHelper(DefaultDrmSessionManager, DrmSessionEventListener.EventDispatcher)instead.DownloadManagerconstructor, use the constructorthat takes an
Executorinstead.Cueconstructors, useCue.Builderinstead.OfflineLicenseHelperconstructor, useOfflineLicenseHelper(DefaultDrmSessionManager, DrmSessionEventListener.EventDispatcher)instead.AnalyticsListenermethods:onDecoderEnabled, useonAudioEnabledand/oronVideoEnabledinstead.
onDecoderInitialized, useonAudioDecoderInitializedand/oronVideoDecoderInitializedinstead.onDecoderInputFormatChanged, useonAudioInputFormatChangedand/or
onVideoInputFormatChangedinstead.onDecoderDisabled, useonAudioDisabledand/oronVideoDisabledinstead.
Player.Listener.onSeekProcessedandAnalyticsListener.onSeekProcessed, useonPositionDiscontinuitywithDISCONTINUITY_REASON_SEEKinstead.ExoPlayer.setHandleWakeLock(boolean), usesetWakeMode(int)instead.
DefaultLoadControl.Builder.createDefaultLoadControl(), usebuild()instead.
MediaItem.PlaybackProperties, useMediaItem.LocalConfigurationinstead. Deprecated fieldMediaItem.playbackPropertiesis now of typeMediaItem.LocalConfiguration.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 this update again.
This PR was generated by Mend Renovate. View the repository job log.