Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2025

Bumps androidx.media3:media3-exoplayer-smoothstreaming from 1.1.1 to 1.6.1.

Release notes

Sourced from androidx.media3:media3-exoplayer-smoothstreaming's releases.

1.6.1

  • Common Library:
    • Add PlaybackParameters.withPitch(float) method for easily copying a PlaybackParameters with a new pitch value (#2257).
  • ExoPlayer:
    • Fix issue where media item transition fails due to recoverable renderer error during initialization of the next media item (#2229).
    • Fix issue where ProgressiveMediaPeriod throws an IllegalStateException as PreloadMediaSource attempts to call its getBufferedDurationUs() before it is prepared (#2315).
    • Fix sending CmcdData in manifest requests for DASH, HLS, and SmoothStreaming (#2253).
    • Ensure 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).
  • Extractors:
    • MP4: Parse alternate_group from the tkhd box and expose it as an Mp4AlternateGroupData entry in each track's Format.metadata (#2242).
  • Audio:
    • Fix offload issue where the position might get stuck when playing a playlist of short content (#1920).
  • Session:
    • Lower aggregation timeout for platform MediaSession callbacks from 500 to 100 milliseconds and add an experimental setter to allow apps to configure this value.
    • Fix issue where notifications reappear after they have been dismissed by the user (#2302).
    • Fix a bug where the session returned a single-item timeline when the wrapped player is actually empty. This happened when the wrapped player doesn't have COMMAND_GET_TIMELINE available while COMMAND_GET_CURRENT_MEDIA_ITEM is available and the wrapped player is empty (#2320).
    • Fix a bug where calling MediaSessionService.setMediaNotificationProvider is silently ignored after other interactions with the service like setForegroundServiceTimeoutMs (#2305).
  • UI:
    • Enable PlayerSurface to work with ExoPlayer.setVideoEffects and CompositionPlayer.
    • Fix bug where PlayerSurface can't be recomposed with a new Player.
  • HLS extension:
    • Fix issue where chunk duration wasn't set in CmcdData for HLS media, causing an assertion failure when processing encrypted media segments (#2312).
  • RTSP extension:
    • Add support for URI with RTSPT scheme as a way to configure the RTSP session to use TCP (#1484).
  • Cast extension:
    • Add support for playlist metadata (#2235).

1.6.0

This release includes the following changes since the 1.5.1 release:

  • Common Library:
    • Add AudioManagerCompat and AudioFocusRequestCompat to replace the equivalent classes in androidx.media.
    • Upgrade Kotlin from 1.9.20 to 2.0.20 and use Compose Compiler Gradle plugin. Upgrade KotlinX Coroutines library from 1.8.1 to 1.9.0.
    • Remove Format.toBundle(boolean excludeMetadata) method, use Format.toBundle() instead.
    • Fix bug in SimpleBasePlayer where setting a new currentMediaItemIndex in State after setPlaylist with null MediaMetadata does not reevaluate the metadata (#1940).
    • Change SimpleBasePlayer.State access from protected to public to make it easier to handle updates in other classes(#2128).
  • ExoPlayer:
    • Add MediaExtractorCompat, a new class that provides equivalent features to platform MediaExtractor.
    • Add experimental 'ExoPlayer' pre-warming support for playback usingMediaCodecVideoRenderer. You can configure DefaultRenderersFactory through experimentalSetEnableMediaCodecVideoRendererPrewarming to provide a secondary MediaCodecVideoRenderer to ExoPlayer. If enabled, ExoPlayer pre-processes the video of consecutive media items during playback to reduce media item transition latency.
    • Reduce default values for bufferForPlaybackMs and bufferForPlaybackAfterRebufferMs in DefaultLoadControl to 1000 and 2000 ms respectively.
    • Initialize DeviceInfo and device volume asynchronously (if enabled using setDeviceVolumeControlEnabled). These values aren't available instantly after ExoPlayer.Builder.build(), and Player.Listener notifies changes through onDeviceInfoChanged and onDeviceVolumeChanged.
    • Initial audio session id is no longer immediately available after creating the player. You can use AnalyticsListener.onAudioSessionIdChanged to listen to the initial update if required.
    • Consider language when selecting a video track. By default, select a 'main' video track that matches the language of the selected audio track, if available. Explicit video language preferences can be expressed with TrackSelectionParameters.Builder.setPreferredVideoLanguage(s).
    • Add selectedAudioLanguage parameter to DefaultTrackSelector.selectVideoTrack() method.
    • Add retryCount parameter to MediaSourceEventListener.onLoadStarted and corresponding MediaSourceEventListener.EventDispatcher methods.
    • Fix bug where playlist items or periods in multi-period DASH streams with durations that don't match the actual content could cause frame freezes at the end of the item (#1698).
    • Move BasePreloadManager.Listener to a top-level PreloadManagerListener.
    • RenderersFactory.createSecondaryRenderer can be implemented to provide secondary renderers for pre-warming. Pre-warming enables quicker media item transitions during playback.
    • Enable sending CmcdData for manifest requests in adaptive streaming formats DASH, HLS, and SmoothStreaming (#1951).

... (truncated)

Changelog

Sourced from androidx.media3:media3-exoplayer-smoothstreaming's changelog.

1.6.1 (2025-04-14)

This release includes the following changes since the 1.6.0 release:

  • Common Library:
    • Add PlaybackParameters.withPitch(float) method for easily copying a PlaybackParameters with a new pitch value (#2257).
  • ExoPlayer:
    • Fix issue where media item transition fails due to recoverable renderer error during initialization of the next media item (#2229).
    • Fix issue where ProgressiveMediaPeriod throws an IllegalStateException as PreloadMediaSource attempts to call its getBufferedDurationUs() before it is prepared (#2315).
    • Fix sending CmcdData in manifest requests for DASH, HLS, and SmoothStreaming (#2253).
    • Ensure 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).
  • Extractors:
    • MP4: Parse alternate_group from the tkhd box and expose it as an Mp4AlternateGroupData entry in each track's Format.metadata (#2242).
  • Audio:
    • Fix offload issue where the position might get stuck when playing a playlist of short content (#1920).
  • Session:
    • Lower aggregation timeout for platform MediaSession callbacks from 500 to 100 milliseconds and add an experimental setter to allow apps to configure this value.
    • Fix issue where notifications reappear after they have been dismissed by the user (#2302).
    • Fix a bug where the session returned a single-item timeline when the wrapped player is actually empty. This happened when the wrapped player doesn't have COMMAND_GET_TIMELINE available while COMMAND_GET_CURRENT_MEDIA_ITEM is available and the wrapped player is empty (#2320).
    • Fix a bug where calling MediaSessionService.setMediaNotificationProvider is silently ignored after other interactions with the service like setForegroundServiceTimeoutMs (#2305).
  • UI:
    • Enable PlayerSurface to work with ExoPlayer.setVideoEffects and CompositionPlayer.

... (truncated)

Commits
  • 839c4a9 Update release notes for 1.6.1
  • 184416a Prevent metricsReporter.reportMetrics() from throwing
  • aea0637 Fix media period mismatch during recoverable renderer error processing
  • f533f55 Add missing type cast
  • 177092d Fix getChildPeriod logic if the child is a TimeOffsetMediaPeriod
  • 153974e Derive average bitrate from stsz sample size and mdhd duration
  • d7234a6 Fix issue where ProgressiveMediaPeriod fails assertPrepared
  • 24a8185 Ensure media notification provider can be updated
  • d652ba6 Bump version to 1.6.1
  • 75e2522 Always return empty timeline when wrapped player is empty
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [androidx.media3:media3-exoplayer-smoothstreaming](https://github.com/androidx/media) from 1.1.1 to 1.6.1.
- [Release notes](https://github.com/androidx/media/releases)
- [Changelog](https://github.com/androidx/media/blob/release/RELEASENOTES.md)
- [Commits](androidx/media@1.1.1...1.6.1)

---
updated-dependencies:
- dependency-name: androidx.media3:media3-exoplayer-smoothstreaming
  dependency-version: 1.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Apr 28, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github May 19, 2025

Superseded by #248.

@dependabot dependabot bot closed this May 19, 2025
@dependabot dependabot bot deleted the dependabot/gradle/android/main/androidx.media3-media3-exoplayer-smoothstreaming-1.6.1 branch May 19, 2025 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants