mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00
Update release notes for 1.6.1
PiperOrigin-RevId: 747337479
This commit is contained in:
parent
b046d590bc
commit
3205811f23
111
RELEASENOTES.md
111
RELEASENOTES.md
@ -3,28 +3,12 @@
|
|||||||
### Unreleased changes
|
### Unreleased changes
|
||||||
|
|
||||||
* Common Library:
|
* Common Library:
|
||||||
* Add `PlaybackParameters.withPitch(float)` method for easily copying a
|
|
||||||
`PlaybackParameters` with a new `pitch` value
|
|
||||||
([#2257](https://github.com/androidx/media/issues/2257)).
|
|
||||||
* ExoPlayer:
|
* ExoPlayer:
|
||||||
* Fix sending `CmcdData` in manifest requests for DASH, HLS, and
|
|
||||||
SmoothStreaming ([#2253](https://github.com/androidx/media/pull/2253)).
|
|
||||||
* Fix issue where media item transition fails due to recoverable renderer
|
|
||||||
error during initialization of the next media item
|
|
||||||
([#2229](https://github.com/androidx/media/issues/2229)).
|
|
||||||
* Add `ExoPlayer.setScrubbingModeEnabled(boolean)` method. This optimizes
|
* Add `ExoPlayer.setScrubbingModeEnabled(boolean)` method. This optimizes
|
||||||
the player for many frequent seeks (for example, from a user dragging a
|
the player for many frequent seeks (for example, from a user dragging a
|
||||||
scrubber bar around). The behavior of scrubbing mode can be customized
|
scrubber bar around). The behavior of scrubbing mode can be customized
|
||||||
with `setScrubbingModeParameters(..)` on `ExoPlayer` and
|
with `setScrubbingModeParameters(..)` on `ExoPlayer` and
|
||||||
`ExoPlayer.Builder`.
|
`ExoPlayer.Builder`.
|
||||||
* `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](https://github.com/androidx/media/issues/2267)).
|
|
||||||
* Fix issue where `ProgressiveMediaPeriod` throws an
|
|
||||||
`IllegalStateException` as `PreloadMediaSource` attempts to call its
|
|
||||||
`getBufferedDurationUs()` before it is prepared
|
|
||||||
([#2315](https://github.com/androidx/media/issues/2315)).
|
|
||||||
* Transformer:
|
* Transformer:
|
||||||
* Filling an initial gap (added via `addGap()`) with silent audio now
|
* Filling an initial gap (added via `addGap()`) with silent audio now
|
||||||
requires explicitly setting `experimentalSetForceAudioTrack(true)` in
|
requires explicitly setting `experimentalSetForceAudioTrack(true)` in
|
||||||
@ -36,15 +20,9 @@
|
|||||||
variable bitrate metadata when falling back to constant bitrate seeking
|
variable bitrate metadata when falling back to constant bitrate seeking
|
||||||
due to `FLAG_ENABLE_CONSTANT_BITRATE_SEEKING(_ALWAYS)`
|
due to `FLAG_ENABLE_CONSTANT_BITRATE_SEEKING(_ALWAYS)`
|
||||||
([#2194](https://github.com/androidx/media/issues/2194)).
|
([#2194](https://github.com/androidx/media/issues/2194)).
|
||||||
* MP4: Parse `alternate_group` from the `tkhd` box and expose it as an
|
|
||||||
`Mp4AlternateGroupData` entry in each track's `Format.metadata`
|
|
||||||
([#2242](https://github.com/androidx/media/issues/2242)).
|
|
||||||
* DataSource:
|
* DataSource:
|
||||||
* Audio:
|
* Audio:
|
||||||
* Allow constant power upmixing/downmixing in DefaultAudioMixer.
|
* Allow constant power upmixing/downmixing in DefaultAudioMixer.
|
||||||
* Fix offload issue where position might get stuck when playing a playlist
|
|
||||||
of short content
|
|
||||||
([#1920](https://github.com/androidx/media/issues/1920)).
|
|
||||||
* Video:
|
* Video:
|
||||||
* Add experimental `ExoPlayer` API to include the
|
* Add experimental `ExoPlayer` API to include the
|
||||||
`MediaCodec.BUFFER_FLAG_DECODE_ONLY` flag when queuing decode-only input
|
`MediaCodec.BUFFER_FLAG_DECODE_ONLY` flag when queuing decode-only input
|
||||||
@ -67,25 +45,7 @@
|
|||||||
instead of `MediaCodec.BufferInfo`.
|
instead of `MediaCodec.BufferInfo`.
|
||||||
* IMA extension:
|
* IMA extension:
|
||||||
* Session:
|
* 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](https://github.com/androidx/media/issues/2302)).
|
|
||||||
* Fix a bug where the `PlayerWrapper` 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](https://github.com/androidx/media/issues/2320)).
|
|
||||||
* Fix a bug where calling
|
|
||||||
`MediaSessionService.setMediaNotificationProvider` is silently ignored
|
|
||||||
after other interactions with the service like
|
|
||||||
`setForegroundServiceTimeoutMs`
|
|
||||||
([#2305](https://github.com/androidx/media/issues/2305)).
|
|
||||||
* UI:
|
* UI:
|
||||||
* Enable `PlayerSurface` to work with `ExoPlayer.setVideoEffects` and
|
|
||||||
`CompositionPlayer`.
|
|
||||||
* Fix bug where `PlayerSurface` can't be recomposed with a new `Player`.
|
|
||||||
* Downloads:
|
* Downloads:
|
||||||
* Add partial download support for progressive streams. Apps can prepare a
|
* Add partial download support for progressive streams. Apps can prepare a
|
||||||
progressive stream with `DownloadHelper`, and request a
|
progressive stream with `DownloadHelper`, and request a
|
||||||
@ -101,21 +61,13 @@
|
|||||||
* Cronet extension:
|
* Cronet extension:
|
||||||
* RTMP extension:
|
* RTMP extension:
|
||||||
* HLS extension:
|
* 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](https://github.com/androidx/media/issues/2312)).
|
|
||||||
* DASH extension:
|
* DASH extension:
|
||||||
* Smooth Streaming extension:
|
* Smooth Streaming extension:
|
||||||
* RTSP extension:
|
* RTSP extension:
|
||||||
* Add support for URI with RTSPT scheme as a way to configure the RTSP
|
|
||||||
session to use TCP
|
|
||||||
([#1484](https://github.com/androidx/media/issues/1484)).
|
|
||||||
* Decoder extensions (FFmpeg, VP9, AV1, etc.):
|
* Decoder extensions (FFmpeg, VP9, AV1, etc.):
|
||||||
* MIDI extension:
|
* MIDI extension:
|
||||||
* Leanback extension:
|
* Leanback extension:
|
||||||
* Cast extension:
|
* Cast extension:
|
||||||
* Add support for playlist metadata
|
|
||||||
([#2235](https://github.com/androidx/media/pull/2235)).
|
|
||||||
* Test Utilities:
|
* Test Utilities:
|
||||||
* Demo app:
|
* Demo app:
|
||||||
* Add `PlaybackSpeedPopUpButton` Composable UI element to be part of
|
* Add `PlaybackSpeedPopUpButton` Composable UI element to be part of
|
||||||
@ -138,6 +90,69 @@
|
|||||||
|
|
||||||
## 1.6
|
## 1.6
|
||||||
|
|
||||||
|
### 1.6.1 (2025-04-14)
|
||||||
|
|
||||||
|
This release includes the following changes since the
|
||||||
|
[1.6.0 release](#160-2025-03-26):
|
||||||
|
|
||||||
|
* Common Library:
|
||||||
|
* Add `PlaybackParameters.withPitch(float)` method for easily copying a
|
||||||
|
`PlaybackParameters` with a new `pitch` value
|
||||||
|
([#2257](https://github.com/androidx/media/issues/2257)).
|
||||||
|
* ExoPlayer:
|
||||||
|
* Fix issue where media item transition fails due to recoverable renderer
|
||||||
|
error during initialization of the next media item
|
||||||
|
([#2229](https://github.com/androidx/media/issues/2229)).
|
||||||
|
* Fix issue where `ProgressiveMediaPeriod` throws an
|
||||||
|
`IllegalStateException` as `PreloadMediaSource` attempts to call its
|
||||||
|
`getBufferedDurationUs()` before it is prepared
|
||||||
|
([#2315](https://github.com/androidx/media/issues/2315)).
|
||||||
|
* Fix sending `CmcdData` in manifest requests for DASH, HLS, and
|
||||||
|
SmoothStreaming ([#2253](https://github.com/androidx/media/pull/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](https://github.com/androidx/media/issues/2267)).
|
||||||
|
* Extractors:
|
||||||
|
* MP4: Parse `alternate_group` from the `tkhd` box and expose it as an
|
||||||
|
`Mp4AlternateGroupData` entry in each track's `Format.metadata`
|
||||||
|
([#2242](https://github.com/androidx/media/issues/2242)).
|
||||||
|
* Audio:
|
||||||
|
* Fix offload issue where the position might get stuck when playing a
|
||||||
|
playlist of short content
|
||||||
|
([#1920](https://github.com/androidx/media/issues/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](https://github.com/androidx/media/issues/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](https://github.com/androidx/media/issues/2320)).
|
||||||
|
* Fix a bug where calling
|
||||||
|
`MediaSessionService.setMediaNotificationProvider` is silently ignored
|
||||||
|
after other interactions with the service like
|
||||||
|
`setForegroundServiceTimeoutMs`
|
||||||
|
([#2305](https://github.com/androidx/media/issues/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](https://github.com/androidx/media/issues/2312)).
|
||||||
|
* RTSP extension:
|
||||||
|
* Add support for URI with RTSPT scheme as a way to configure the RTSP
|
||||||
|
session to use TCP
|
||||||
|
([#1484](https://github.com/androidx/media/issues/1484)).
|
||||||
|
* Cast extension:
|
||||||
|
* Add support for playlist metadata
|
||||||
|
([#2235](https://github.com/androidx/media/pull/2235)).
|
||||||
|
|
||||||
### 1.6.0 (2025-03-26)
|
### 1.6.0 (2025-03-26)
|
||||||
|
|
||||||
This release includes the following changes since the
|
This release includes the following changes since the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user