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.1
Warning
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.1
This is the last planned release of the
com.google.android.exoplayer2
artifacts. 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.
multidex
dependency from all modules(#499).
PlaybackStatsListener
where spuriousPlaybackStats
arecreated 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_ENDED
when 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.0
This release corresponds to the
AndroidX Media3 1.1.0 release.
change reason for suppressed too long.
(#15).
COMMAND_GET_METADATA
COMMAND_SET_PLAYLIST_METADATA
COMMAND_SET_DEVICE_VOLUME_WITH_FLAGS
COMMAND_ADJUST_DEVICE_VOLUME_WITH_FLAGS
flags:
void setDeviceVolume(int, int)
void increaseDeviceVolume(int)
void decreaseDeviceVolume(int)
void setDeviceMuted(boolean, int)
Builder
forDeviceInfo
and deprecate existing constructor.DeviceInfo.routingControllerId
to 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.setDeviceVolumeControlEnabled
to have access to:getDeviceVolume()
isDeviceMuted()
setDeviceVolume(int)
andsetDeviceVolume(int, int)
increaseDeviceVolume(int)
andincreaseDeviceVolume(int, int)
decreaseDeviceVolume(int)
anddecreaseDeviceVolume(int, int)
FilteringMediaSource
that 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.json
file(#439).
ExoPlayer.setVideoEffects()
for usingEffect
during videoplayback.
SampleQueue
to storesourceId
as along
rather than anint
. This changes the signatures of public methodsSampleQueue.sourceId
andSampleQueue.peekSourceId
.LoadControl
methodsshouldStartPlayback
andonTracksSelected
that 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
mediaTimeOffsetUs
can be calledinstead. Note that even for the deprecated variants, the offset is not
anymore added to
startTimeUs
andendTimeUs
of theMediaLoadData
objects that are dispatched by the dispatcher.
ExoTrackSelection.blacklist
toexcludeTrack
andisBlacklisted
toisTrackExcluded
.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.
MediaCodecList
instead of usingfindDecoder/EncoderForFormat
utilities, to expand support.DefaultEncoderFactory
because itdoesn't work on some devices.
DefaultTrackSelector.Parameters.allowInvalidateSelectionsForRendererCapabilitiesChange
which is disabled by default. When enabled, the
DefaultTrackSelector
will trigger a new track selection when the renderer capabilities
changed.
(#391).
TimestampAdjuster
initializes a wrong timestampoffset with metadata sample time from emsg atom
(#356).
AudioProcessors
are 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
context
in the constructor ofDefaultAudioSink
,with which the
DefaultAudioSink
will register as the listener to theAudioCapabilitiesReceiver
and update itsaudioCapabilities
propertywhen informed with a capabilities change.
onAudioCapabilitiesChanged
inAudioSink.Listener
interface, and anew interface
RendererCapabilities.Listener
which triggersonRendererCapabilitiesChanged
events.ChannelMixingAudioProcessor
for applying scaling/mixing to audiochannels.
DISCARD_REASON_AUDIO_BYPASS_POSSIBLE
toDecoderDiscardReasons
to discard audio decoder when bypass mode ispossible after audio capabilities change.
(#335).
MediaCodecVideoRenderer
report aVideoSize
with a width andheight of 0 when the renderer is disabled.
Player.Listener.onVideoSizeChanged
is called accordingly whenPlayer.getVideoSize()
changes. With this change, ExoPlayer's videosize with
MediaCodecVideoRenderer
has a width and height of 0 whenPlayer.getCurrentTracks
does not support video, or the size of thesupported video track is not yet determined.
DefaultDrmSession
that 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.
shouldShowPlayButton
andhandlePlayPauseButtonAction
to write custom UI elements with aplay/pause button.
Response SDP message
(#302).
present in DESCRIBE response header
(#11160).
MediaLoadData.startTimeMs
andMediaLoadData.endTimeMs
for multi period DASH streams.produced a
IndexOutOfBoundsException
(#10838).
HlsMediaSource.Factory.setTimestampAdjusterInitializationTimeoutMs(long)
to set a timeout for the loading thread to wait for the
TimestampAdjuster
to initialize. If the initialization doesn'tcomplete before the timeout, a
PlaybackException
is thrown to avoidthe playback endless stalling. The timeout is set to zero by default
(#323).
DataSourceContractTest
.DefaultAudioSink
constructors, useDefaultAudioSink.Builder
instead.
HlsMasterPlaylist
, useHlsMultivariantPlaylist
instead.Player.stop(boolean)
. UsePlayer.stop()
andPlayer.clearMediaItems()
(ifreset
istrue
) instead.SimpleCache
constructors, use a non-deprecatedconstructor that takes a
DatabaseProvider
instead for betterperformance.
DefaultBandwidthMeter
constructor, useDefaultBandwidthMeter.Builder
instead.DefaultDrmSessionManager
constructors, useDefaultDrmSessionManager.Builder
instead.HttpDataSource.InvalidResponseCodeException
constructors, use a non-deprecated constructor that accepts additional
fields(
cause
,responseBody
) to enhance error logging.DownloadHelper.forProgressive
,DownloadHelper.forHls
,DownloadHelper.forDash
, andDownloadHelper.forSmoothStreaming
, useDownloadHelper.forMediaItem
instead.DownloadService
constructor, use a non deprecatedconstructor that includes the option to provide a
channelDescriptionResourceId
parameter.ASCII_NAME
,UTF8_NAME
,ISO88591_NAME
,UTF16_NAME
andUTF16LE_NAME
), useKotlin Charsets from the
kotlin.text
package, thejava.nio.charset.StandardCharsets
or thecom.google.common.base.Charsets
instead.WorkManagerScheduler
constructor, use a nondeprecated constructor that includes the option to provide a
Context
parameter instead.
createVideoSampleFormat
,createAudioSampleFormat
,createContainerFormat
, andcreateSampleFormat
, which were used to instantiate theFormat
class.Instead use
Format.Builder
for creating instances ofFormat
.copyWithMaxInputSize
,copyWithSubsampleOffsetUs
,copyWithLabel
,copyWithManifestFormatInfo
,copyWithGaplessInfo
,copyWithFrameRate
,copyWithDrmInitData
,copyWithMetadata
,copyWithBitrate
andcopyWithVideoSize
, useFormat.buildUpon()
andsetter methods instead.
ExoPlayer.retry()
, useprepare()
instead.DefaultTrackSelector
constructor, useDefaultTrackSelector(Context)
instead.OfflineLicenseHelper
constructor, useOfflineLicenseHelper(DefaultDrmSessionManager, DrmSessionEventListener.EventDispatcher)
instead.DownloadManager
constructor, use the constructorthat takes an
Executor
instead.Cue
constructors, useCue.Builder
instead.OfflineLicenseHelper
constructor, useOfflineLicenseHelper(DefaultDrmSessionManager, DrmSessionEventListener.EventDispatcher)
instead.AnalyticsListener
methods:onDecoderEnabled
, useonAudioEnabled
and/oronVideoEnabled
instead.
onDecoderInitialized
, useonAudioDecoderInitialized
and/oronVideoDecoderInitialized
instead.onDecoderInputFormatChanged
, useonAudioInputFormatChanged
and/or
onVideoInputFormatChanged
instead.onDecoderDisabled
, useonAudioDisabled
and/oronVideoDisabled
instead.
Player.Listener.onSeekProcessed
andAnalyticsListener.onSeekProcessed
, useonPositionDiscontinuity
withDISCONTINUITY_REASON_SEEK
instead.ExoPlayer.setHandleWakeLock(boolean)
, usesetWakeMode(int)
instead.
DefaultLoadControl.Builder.createDefaultLoadControl()
, usebuild()
instead.
MediaItem.PlaybackProperties
, useMediaItem.LocalConfiguration
instead. Deprecated fieldMediaItem.playbackProperties
is 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.