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

Bump androidx.media3:media3-exoplayer-hls from 1.1.1 to 1.4.1 in /android #191

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 28, 2024

Bumps androidx.media3:media3-exoplayer-hls from 1.1.1 to 1.4.1.

Release notes

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

1.4.1

This release includes the following changes since the 1.4.0 release:

  • ExoPlayer:
    • Handle preload callbacks asynchronously in PreloadMediaSource (#1568).
    • Allow playback regardless of buffered duration when loading fails (#1571).
  • Extractors:
    • MP3: Fix Searched too many bytes error by correctly ignoring trailing non-MP3 data based on the length field in an Info frame (#1480).
  • Text:
    • TTML: Fix handling of percentage tts:fontSize values to ensure they are correctly inherited from parent nodes with percentage tts:fontSize values.
    • Fix IndexOutOfBoundsException in LegacySubtitleUtil due to incorrectly handling the case of the requested output start time being greater than or equal to the final event time in the Subtitle (#1516).
  • DRM:
    • Fix android.media.MediaCodec$CryptoException: Operation not supported in this configuration: ERROR_DRM_CANNOT_HANDLE error on API 31+ devices playing L1 Widevine content. This error is caused by an incomplete implementation of the framework MediaDrm.requiresSecureDecoder method (#1603).
  • Effect:
    • Add a release() method to GlObjectsProvider.
  • Session:
    • Transform a double-tap of KEYCODE_HEADSETHOOK into a 'seek to next' action, as documented (#1493).
    • Handle KEYCODE_HEADSETHOOK as a 'play' command in MediaButtonReceiver when deciding whether to ignore it to avoid a ForegroundServiceDidNotStartInTimeException (#1581).
  • RTSP Extension:
    • Skip invalid Media Descriptions in SDP parsing (#1087).

1.4.0

This release includes the following changes since the 1.3.1 release:

  • Common Library:
    • Forward presumed no-op seek calls to the protected BasePlayer.seekTo() and SimpleBasePlayer.handleSeek() methods instead of ignoring them. If you are implementing these methods in a custom player, you may need to handle these additional calls with mediaItemIndex == C.INDEX_UNSET.
    • Remove compile dependency on enhanced Java 8 desugaring (#1312).
    • Ensure the duration passed to MediaItem.Builder.setImageDurationMs() is ignored for a non-image MediaItem (as documented).
    • Add Format.customData to store app-provided custom information about Format instances.
  • ExoPlayer:
    • Add BasePreloadManager which coordinates the preloading for multiple sources based on the priorities defined by their rankingData. Customization is possible by extending this class. Add DefaultPreloadManager which uses PreloadMediaSource to preload media samples of the sources into memory, and uses an integer rankingData that indicates the index of an item on the UI.
    • Add PlayerId to most methods of LoadControl to enable LoadControl implementations to support multiple players.
    • Remove Buffer.isDecodeOnly() and C.BUFFER_FLAG_DECODE_ONLY. There is no need to set this flag as renderers and decoders will decide to skip buffers based on timestamp. Custom Renderer implementations should check if the buffer time is at least BaseRenderer.getLastResetPositionUs() to decide whether a sample should be shown. Custom SimpleDecoder implementations can check isAtLeastOutputStartTimeUs() if needed or mark other buffers with DecoderOutputBuffer.shouldBeSkipped to skip them.
    • Allow a null value to be returned by TargetPreloadStatusControl.getTargetPreloadStatus(T) to indicate not to preload a MediaSource with the given rankingData.
    • Add remove(MediaSource) to BasePreloadManager.
    • Add reset() to BasePreloadManager to release all the holding sources while keep the preload manager instance.
    • Add ExoPlayer.setPriority() (and Builder.setPriority()) to define the priority value used in PriorityTaskManager and for MediaCodec importance from API 35.
    • Fix issue with updating the last rebuffer time which resulted in incorrect bs (buffer starvation) key in CMCD (#1124).
    • Add PreloadMediaSource.PreloadControl.onLoadedToTheEndOfSource(PreloadMediaSource) to indicate that the source has loaded to the end. This allows the DefaultPreloadManager and the custom PreloadMediaSource.PreloadControl implementations to preload the next source or take other actions.
    • Fix bug where silence skipping at the end of items can trigger a playback exception.
    • Add clear to PreloadMediaSource to discard the preloading period.
    • Add new error code PlaybackException.ERROR_CODE_DECODING_RESOURCES_RECLAIMED that is used when codec resources are reclaimed for higher priority tasks.
    • Let AdsMediaSource load preroll ads before initial content media preparation completes (#1358).
    • Fix bug where playback moved to STATE_ENDED when re-preparing a multi-period DASH live stream after the original period was already removed from the manifest.
    • Rename onTimelineRefreshed() to onSourcePrepared() and onPrepared() to onTracksSelected() in PreloadMediaSource.PreloadControl. Also rename the IntDefs in DefaultPreloadManager.Stage accordingly.
    • Add experimental support for dynamic scheduling to better align work with CPU wake-cycles and delay waking up to when renderers can progress. You can enable this using experimentalSetDynamicSchedulingEnabled() when setting up your ExoPlayer instance.
    • Add Renderer.getDurationToProgressUs(). A Renderer can implement this method to return to ExoPlayer the duration that playback must advance for the renderer to progress. If ExoPlayer is set with experimentalSetDynamicSchedulingEnabled() then ExoPlayer will call this method when calculating the time to schedule its work task.
    • Add MediaCodecAdapter#OnBufferAvailableListener to alert when input and output buffers are available for use by MediaCodecRenderer. MediaCodecRenderer will signal ExoPlayer when receiving these callbacks and if ExoPlayer is set with experimentalSetDynamicSchedulingEnabled(), then ExoPlayer will schedule its work loop as renderers can make progress.
    • Use data class for LoadControl methods instead of individual parameters.
    • Add ExoPlayer.isReleased() to check whether Exoplayer.release() has been called.

... (truncated)

Changelog

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

1.4.1 (2024-08-23)

This release includes the following changes since the 1.4.0 release:

  • ExoPlayer:
    • Handle preload callbacks asynchronously in PreloadMediaSource (#1568).
    • Allow playback regardless of buffered duration when loading fails (#1571).
  • Extractors:
    • MP3: Fix Searched too many bytes error by correctly ignoring trailing non-MP3 data based on the length field in an Info frame (#1480).
  • Text:
    • TTML: Fix handling of percentage tts:fontSize values to ensure they are correctly inherited from parent nodes with percentage tts:fontSize values.
    • Fix IndexOutOfBoundsException in LegacySubtitleUtil due to incorrectly handling the case of the requested output start time being greater than or equal to the final event time in the Subtitle (#1516).
  • DRM:
    • Fix android.media.MediaCodec$CryptoException: Operation not supported in this configuration: ERROR_DRM_CANNOT_HANDLE error on API 31+ devices playing L1 Widevine content. This error is caused by an incomplete implementation of the framework MediaDrm.requiresSecureDecoder method (#1603).
  • Effect:
    • Add a release() method to GlObjectsProvider.
  • Session:
    • Transform a double-tap of KEYCODE_HEADSETHOOK into a 'seek to next' action, as documented (#1493).
    • Handle KEYCODE_HEADSETHOOK as a 'play' command in MediaButtonReceiver when deciding whether to ignore it to avoid a ForegroundServiceDidNotStartInTimeException (#1581).
  • RTSP Extension:
    • Skip invalid Media Descriptions in SDP parsing (#1087).

1.4.0 (2024-07-24)

This release includes the following changes since the 1.3.1 release:

  • Common Library:

... (truncated)

Commits
  • c35a9d6 Bump media3 version to 1.4.1
  • 517762c Update release notes for 1.4.1 bug fix release
  • 88b6401 Allow playback regardless buffered duration when loading fails
  • 9b39e35 Update translations
  • b184677 Check WV version before relying on MediaDrm.requiresSecureDecoder
  • f139d70 Handle preload callbacks asynchronously in PreloadMediaSource
  • 07e9c65 Handle HEADSETHOOK as 'play' in MediaButtonReceiver.onReceive
  • eebf081 Pass missing length into SubtitleParser from SubtitleExtractor
  • c773789 Skip invalid media description in SessionDescriptionParser
  • bf93449 Fix IndexOutOfBoundsException in LegacySubtitleUtil
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Aug 28, 2024
Bumps [androidx.media3:media3-exoplayer-hls](https://github.com/androidx/media) from 1.1.1 to 1.4.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.4.1)

---
updated-dependencies:
- 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 force-pushed the dependabot/gradle/android/main/androidx.media3-media3-exoplayer-hls-1.4.1 branch from b46aa40 to f46878a Compare August 28, 2024 06:04
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