Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump media3 from 1.4.1 to 1.5.0 #155

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 25, 2024

Bumps media3 from 1.4.1 to 1.5.0.
Updates androidx.media3:media3-exoplayer from 1.4.1 to 1.5.0

Release notes

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

1.5.0-rc02

This release includes the following changes since the 1.5.0-rc01 release:

  • Extractors:
    • Add AC-4 Level-4 ISO base media file format support (#1265).
  • Text:
    • Fix garbled CEA-608 subtitles in content with more than one SEI message per sample.
    • Fix playback hanging on DASH multi-period streams when CEA-608 subtitles are enabled (#1863).
    • Fix garbled CEA-608 subtitles in MP4 files that incorrectly mark every sample as a sync sample (#1863).
  • Demo app
    • Resolve the memory leaks in demo short-form app (#1839).

1.5.0-rc01

This release includes the following changes since the 1.5.0-beta01 release:

  • ExoPlayer:
    • 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).
    • Add a setter to SntpClient to set the max elapsed time since the last update after which the client is re-initialized (#1794).
  • Extractors:
    • Fix media duration parsing in mdhd box of MP4 files to handle -1 values (#1819).
    • Add support for identifying h263 box in MP4 files for H.263 video (#1821).
  • DataSource:
    • DataSourceContractTest: Assert that DataSource.getUri() returns the resolved URI (as documented). Where this is different to the requested URI, tests can indicate this using the new DataSourceContractTest.TestResource.Builder.setResolvedUri() method.
    • DataSourceContractTest: Assert that DataSource.getUri() and getResponseHeaders() return their 'open' value after a failed call to open() (due to a 'not found' resource) and before a subsequent close() call.
      • Overriding DataSourceContractTest.getNotFoundResources() allows test sub-classes to provide multiple 'not found' resources, and to provide any expected headers too. This allows to distinguish between HTTP 404 (with headers) and "server not found" (no headers).
  • Text:
    • Fix CEA-608 subtitles in H.264 MPEG-TS streams not being output (this was broken in 1.5.0-alpha01 by androidx/media@03a205f).
    • Support CEA-608 subtitles in Dolby Vision content (#1820).
  • RTSP Extension:
    • Fix crashing when parsing of RTP packets with header extensions (#1225).

1.5.0-beta01

This release includes the following changes since the 1.5.0-alpha01 release:

  • Common Library:
    • Remove @DoNotInline annotations from manually out-of-lined inner classes designed to avoid runtime class verification failures. Recent versions of R8 now automatically out-of-line calls like these to avoid the runtime failures (so the manual out-of-lining is no longer required). All Gradle users of the library must already be a using a version of the Android Gradle Plugin that uses a version of R8 which does this, due to compileSdk = 35. Users of the library with non-Gradle build systems will need to ensure their R8-equivalent shrinking/obfuscating step does a similar automatic out-of-lining process in order to avoid runtime class verification failures. This change has already been done in other AndroidX libraries.
  • ExoPlayer:
    • Fix MediaCodec.CryptoException sometimes being reported as an "unexpected runtime error" when MediaCodec is operated in asynchronous mode (default behaviour on API 31+).
    • Pass bufferedDurationUs instead of bufferedPositionUs with PreloadMediaSource.PreloadControl.onContinueLoadingRequested(). Also changes DefaultPreloadManager.Status.STAGE_LOADED_TO_POSITION_MS to DefaultPreloadManager.Status.STAGE_LOADED_FOR_DURATION_MS, apps then need to pass a value representing a specific duration from the default start position for which the corresponding media source has to be preloaded with this IntDef, instead of a position.
    • Add ForwardingRenderer implementation that forwards all method calls to another renderer (1703).
    • Add playlist preloading for the next item in the playlist. Apps can enable preloading by calling ExoPlayer.setPreloadConfiguration(PreloadConfiguration) accordingly. By default preloading is disabled. When opted-in and to not interfere with playback, DefaultLoadControl restricts preloading to start and continue only when the player is not loading for playback. Apps can change this behaviour by implementing LoadControl.shouldContinuePreloading() accordingly (like when overriding this method in DefaultLoadControl). The default implementation of LoadControl disables preloading in case an app is using a custom implementation of LoadControl.
    • Add method MediaSourceEventListener.EventDispatcher.dispatchEvent() to allow invoking events of subclass listeners (1736).
    • Add DefaultPreloadManager.Builder that builds the DefaultPreloadManager and ExoPlayer instances with consistently shared configurations.
    • Remove Renderer[] parameter from LoadControl.onTracksSelected() as DefaultLoadControl implementation can retrieve the stream types from ExoTrackSelection[].
    • Deprecated DefaultLoadControl.calculateTargetBufferBytes(Renderer[], ExoTrackSelection[]) and marked method as final to prevent overrides. The new DefaultLoadControl.calculateTargetBufferBytes(ExoTrackSelection[]) should be used instead.
    • Report MediaSourceEventListener events from secondary sources in MergingMediaSource. This will result in load start/error/cancelled/completed events being reported for sideloaded subtitles (those added with MediaItem.LocalConfiguration.subtitleConfigurations), which may appear as duplicate load events emitted from AnalyticsListener.
    • Prevent subtitle & metadata errors from completely stopping playback. Instead the problematic track is disabled and playback of the remaining tracks continues (#1722).
      • In new subtitle handling (during extraction), associated parse (e.g. invalid subtitle data) and load errors (e.g. HTTP 404) are emitted via onLoadError callbacks.

... (truncated)

Changelog

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

Release notes

1.4

Commits

Updates androidx.media3:media3-ui from 1.4.1 to 1.5.0

Updates androidx.media3:media3-exoplayer-hls from 1.4.1 to 1.5.0

Release notes

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

1.5.0-rc02

This release includes the following changes since the 1.5.0-rc01 release:

  • Extractors:
    • Add AC-4 Level-4 ISO base media file format support (#1265).
  • Text:
    • Fix garbled CEA-608 subtitles in content with more than one SEI message per sample.
    • Fix playback hanging on DASH multi-period streams when CEA-608 subtitles are enabled (#1863).
    • Fix garbled CEA-608 subtitles in MP4 files that incorrectly mark every sample as a sync sample (#1863).
  • Demo app
    • Resolve the memory leaks in demo short-form app (#1839).

1.5.0-rc01

This release includes the following changes since the 1.5.0-beta01 release:

  • ExoPlayer:
    • 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).
    • Add a setter to SntpClient to set the max elapsed time since the last update after which the client is re-initialized (#1794).
  • Extractors:
    • Fix media duration parsing in mdhd box of MP4 files to handle -1 values (#1819).
    • Add support for identifying h263 box in MP4 files for H.263 video (#1821).
  • DataSource:
    • DataSourceContractTest: Assert that DataSource.getUri() returns the resolved URI (as documented). Where this is different to the requested URI, tests can indicate this using the new DataSourceContractTest.TestResource.Builder.setResolvedUri() method.
    • DataSourceContractTest: Assert that DataSource.getUri() and getResponseHeaders() return their 'open' value after a failed call to open() (due to a 'not found' resource) and before a subsequent close() call.
      • Overriding DataSourceContractTest.getNotFoundResources() allows test sub-classes to provide multiple 'not found' resources, and to provide any expected headers too. This allows to distinguish between HTTP 404 (with headers) and "server not found" (no headers).
  • Text:
    • Fix CEA-608 subtitles in H.264 MPEG-TS streams not being output (this was broken in 1.5.0-alpha01 by androidx/media@03a205f).
    • Support CEA-608 subtitles in Dolby Vision content (#1820).
  • RTSP Extension:
    • Fix crashing when parsing of RTP packets with header extensions (#1225).

1.5.0-beta01

This release includes the following changes since the 1.5.0-alpha01 release:

  • Common Library:
    • Remove @DoNotInline annotations from manually out-of-lined inner classes designed to avoid runtime class verification failures. Recent versions of R8 now automatically out-of-line calls like these to avoid the runtime failures (so the manual out-of-lining is no longer required). All Gradle users of the library must already be a using a version of the Android Gradle Plugin that uses a version of R8 which does this, due to compileSdk = 35. Users of the library with non-Gradle build systems will need to ensure their R8-equivalent shrinking/obfuscating step does a similar automatic out-of-lining process in order to avoid runtime class verification failures. This change has already been done in other AndroidX libraries.
  • ExoPlayer:
    • Fix MediaCodec.CryptoException sometimes being reported as an "unexpected runtime error" when MediaCodec is operated in asynchronous mode (default behaviour on API 31+).
    • Pass bufferedDurationUs instead of bufferedPositionUs with PreloadMediaSource.PreloadControl.onContinueLoadingRequested(). Also changes DefaultPreloadManager.Status.STAGE_LOADED_TO_POSITION_MS to DefaultPreloadManager.Status.STAGE_LOADED_FOR_DURATION_MS, apps then need to pass a value representing a specific duration from the default start position for which the corresponding media source has to be preloaded with this IntDef, instead of a position.
    • Add ForwardingRenderer implementation that forwards all method calls to another renderer (1703).
    • Add playlist preloading for the next item in the playlist. Apps can enable preloading by calling ExoPlayer.setPreloadConfiguration(PreloadConfiguration) accordingly. By default preloading is disabled. When opted-in and to not interfere with playback, DefaultLoadControl restricts preloading to start and continue only when the player is not loading for playback. Apps can change this behaviour by implementing LoadControl.shouldContinuePreloading() accordingly (like when overriding this method in DefaultLoadControl). The default implementation of LoadControl disables preloading in case an app is using a custom implementation of LoadControl.
    • Add method MediaSourceEventListener.EventDispatcher.dispatchEvent() to allow invoking events of subclass listeners (1736).
    • Add DefaultPreloadManager.Builder that builds the DefaultPreloadManager and ExoPlayer instances with consistently shared configurations.
    • Remove Renderer[] parameter from LoadControl.onTracksSelected() as DefaultLoadControl implementation can retrieve the stream types from ExoTrackSelection[].
    • Deprecated DefaultLoadControl.calculateTargetBufferBytes(Renderer[], ExoTrackSelection[]) and marked method as final to prevent overrides. The new DefaultLoadControl.calculateTargetBufferBytes(ExoTrackSelection[]) should be used instead.
    • Report MediaSourceEventListener events from secondary sources in MergingMediaSource. This will result in load start/error/cancelled/completed events being reported for sideloaded subtitles (those added with MediaItem.LocalConfiguration.subtitleConfigurations), which may appear as duplicate load events emitted from AnalyticsListener.
    • Prevent subtitle & metadata errors from completely stopping playback. Instead the problematic track is disabled and playback of the remaining tracks continues (#1722).
      • In new subtitle handling (during extraction), associated parse (e.g. invalid subtitle data) and load errors (e.g. HTTP 404) are emitted via onLoadError callbacks.

... (truncated)

Changelog

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

Release notes

1.4

Commits

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 `media3` from 1.4.1 to 1.5.0.

Updates `androidx.media3:media3-exoplayer` from 1.4.1 to 1.5.0
- [Release notes](https://github.com/androidx/media/releases)
- [Changelog](https://github.com/androidx/media/blob/release/RELEASENOTES.md)
- [Commits](https://github.com/androidx/media/commits)

Updates `androidx.media3:media3-ui` from 1.4.1 to 1.5.0

Updates `androidx.media3:media3-exoplayer-hls` from 1.4.1 to 1.5.0
- [Release notes](https://github.com/androidx/media/releases)
- [Changelog](https://github.com/androidx/media/blob/release/RELEASENOTES.md)
- [Commits](https://github.com/androidx/media/commits)

---
updated-dependencies:
- dependency-name: androidx.media3:media3-exoplayer
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.media3:media3-ui
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.media3:media3-exoplayer-hls
  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 Nov 25, 2024
@muedsa muedsa merged commit dd92afa into main Nov 26, 2024
2 checks passed
@dependabot dependabot bot deleted the dependabot/gradle/media3-1.5.0 branch November 26, 2024 01:06
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.

1 participant