|
1 | 1 | # Release notes
|
2 | 2 |
|
| 3 | +## 1.6 |
| 4 | + |
| 5 | +### 1.6.1 (2025-04-14) |
| 6 | + |
| 7 | +This release includes the following changes since the |
| 8 | +[1.6.0 release](#160-2025-03-26): |
| 9 | + |
| 10 | +* Common Library: |
| 11 | + * Add `PlaybackParameters.withPitch(float)` method for easily copying a |
| 12 | + `PlaybackParameters` with a new `pitch` value |
| 13 | + ([#2257](https://github.com/androidx/media/issues/2257)). |
3 | 14 | * ExoPlayer:
|
| 15 | + * Fix issue where media item transition fails due to recoverable renderer |
| 16 | + error during initialization of the next media item |
| 17 | + ([#2229](https://github.com/androidx/media/issues/2229)). |
4 | 18 | * Fix issue where `ProgressiveMediaPeriod` throws an
|
5 | 19 | `IllegalStateException` as `PreloadMediaSource` attempts to call its
|
6 | 20 | `getBufferedDurationUs()` before it is prepared
|
7 | 21 | ([#2315](https://github.com/androidx/media/issues/2315)).
|
| 22 | + * Fix sending `CmcdData` in manifest requests for DASH, HLS, and |
| 23 | + SmoothStreaming ([#2253](https://github.com/androidx/media/pull/2253)). |
| 24 | + * Ensure `AdPlaybackState.withAdDurationsUs(long[][])` can be used after |
| 25 | + ad groups have been removed. The user still needs to pass in an array of |
| 26 | + durations for removed ad groups which can be empty or null |
| 27 | + ([#2267](https://github.com/androidx/media/issues/2267)). |
| 28 | +* Extractors: |
| 29 | + * MP4: Parse `alternate_group` from the `tkhd` box and expose it as an |
| 30 | + `Mp4AlternateGroupData` entry in each track's `Format.metadata` |
| 31 | + ([#2242](https://github.com/androidx/media/issues/2242)). |
| 32 | +* Audio: |
| 33 | + * Fix offload issue where the position might get stuck when playing a |
| 34 | + playlist of short content |
| 35 | + ([#1920](https://github.com/androidx/media/issues/1920)). |
| 36 | +* Session: |
| 37 | + * Lower aggregation timeout for platform `MediaSession` callbacks from 500 |
| 38 | + to 100 milliseconds and add an experimental setter to allow apps to |
| 39 | + configure this value. |
| 40 | + * Fix issue where notifications reappear after they have been dismissed by |
| 41 | + the user ([#2302](https://github.com/androidx/media/issues/2302)). |
| 42 | + * Fix a bug where the session returned a single-item timeline when the |
| 43 | + wrapped player is actually empty. This happened when the wrapped player |
| 44 | + doesn't have `COMMAND_GET_TIMELINE` available while |
| 45 | + `COMMAND_GET_CURRENT_MEDIA_ITEM` is available and the wrapped player is |
| 46 | + empty ([#2320](https://github.com/androidx/media/issues/2320)). |
| 47 | + * Fix a bug where calling |
| 48 | + `MediaSessionService.setMediaNotificationProvider` is silently ignored |
| 49 | + after other interactions with the service like |
| 50 | + `setForegroundServiceTimeoutMs` |
| 51 | + ([#2305](https://github.com/androidx/media/issues/2305)). |
| 52 | +* UI: |
| 53 | + * Enable `PlayerSurface` to work with `ExoPlayer.setVideoEffects` and |
| 54 | + `CompositionPlayer`. |
| 55 | + * Fix bug where `PlayerSurface` can't be recomposed with a new `Player`. |
| 56 | +* HLS extension: |
| 57 | + * Fix issue where chunk duration wasn't set in `CmcdData` for HLS media, |
| 58 | + causing an assertion failure when processing encrypted media segments |
| 59 | + ([#2312](https://github.com/androidx/media/issues/2312)). |
| 60 | +* RTSP extension: |
| 61 | + * Add support for URI with RTSPT scheme as a way to configure the RTSP |
| 62 | + session to use TCP |
| 63 | + ([#1484](https://github.com/androidx/media/issues/1484)). |
8 | 64 | * Cast extension:
|
9 | 65 | * Add support for playlist metadata
|
10 | 66 | ([#2235](https://github.com/androidx/media/pull/2235)).
|
11 | 67 |
|
12 |
| -## 1.6 |
13 |
| - |
14 | 68 | ### 1.6.0 (2025-03-26)
|
15 | 69 |
|
16 | 70 | This release includes the following changes since the
|
|
0 commit comments