|
1 | 1 | # Release notes
|
2 | 2 |
|
| 3 | +### 2.18.1 (2022-07-21) |
| 4 | + |
| 5 | +This release corresponds to the |
| 6 | +[AndroidX media3 1.0.0-beta02 release](https://github.com/androidx/media/releases/tag/1.0.0-beta02). |
| 7 | + |
| 8 | +* Core library: |
| 9 | + * Ensure that changing the `ShuffleOrder` with `ExoPlayer.setShuffleOrder` |
| 10 | + results in a call to `Player.Listener#onTimelineChanged` with |
| 11 | + `reason=Player.TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED` |
| 12 | + ([#9889](https://github.com/google/ExoPlayer/issues/9889)). |
| 13 | + * For progressive media, only include selected tracks in buffered position |
| 14 | + ([#10361](https://github.com/google/ExoPlayer/issues/10361)). |
| 15 | + * Allow custom logger for all ExoPlayer log output |
| 16 | + ([#9752](https://github.com/google/ExoPlayer/issues/9752)). |
| 17 | + * Fix implementation of `setDataSourceFactory` in |
| 18 | + `DefaultMediaSourceFactory`, which was non-functional in some cases |
| 19 | + ([#116](https://github.com/androidx/media/issues/116)). |
| 20 | +* Extractors: |
| 21 | + * Fix parsing of H265 short term reference picture sets |
| 22 | + ([#10316](https://github.com/google/ExoPlayer/issues/10316)). |
| 23 | + * Fix parsing of bitrates from `esds` boxes |
| 24 | + ([#10381](https://github.com/google/ExoPlayer/issues/10381)). |
| 25 | +* DASH: |
| 26 | + * Parse ClearKey license URL from manifests |
| 27 | + ([#10246](https://github.com/google/ExoPlayer/issues/10246)). |
| 28 | +* UI: |
| 29 | + * Ensure TalkBack announces the currently active speed option in the |
| 30 | + playback controls menu |
| 31 | + ([#10298](https://github.com/google/ExoPlayer/issues/10298)). |
| 32 | +* RTSP: |
| 33 | + * Add VP8 fragmented packet handling |
| 34 | + ([#110](https://github.com/androidx/media/pull/110)). |
| 35 | +* Leanback extension: |
| 36 | + * Listen to `playWhenReady` changes in `LeanbackAdapter` |
| 37 | + ([10420](https://github.com/google/ExoPlayer/issues/10420)). |
| 38 | +* Cast: |
| 39 | + * Use the `MediaItem` that has been passed to the playlist methods as |
| 40 | + `Window.mediaItem` in `CastTimeline` |
| 41 | + ([#25](https://github.com/androidx/media/issues/25), |
| 42 | + [#8212](https://github.com/google/ExoPlayer/issues/8212)). |
| 43 | + * Support `Player.getMetadata()` and `Listener.onMediaMetadataChanged()` |
| 44 | + with `CastPlayer` ([#25](https://github.com/androidx/media/issues/25)). |
| 45 | + |
3 | 46 | ### 2.18.0 (2022-06-16)
|
4 | 47 |
|
5 | 48 | This release corresponds to the
|
@@ -37,7 +80,9 @@ This release corresponds to the
|
37 | 80 | * Rename `TracksInfo` to `Tracks` and `TracksInfo.TrackGroupInfo` to
|
38 | 81 | `Tracks.Group`. `Player.getCurrentTracksInfo` and
|
39 | 82 | `Player.Listener.onTracksInfoChanged` have also been renamed to
|
40 |
| - `Player.getCurrentTracks` and `Player.Listener.onTracksChanged`. |
| 83 | + `Player.getCurrentTracks` and `Player.Listener.onTracksChanged`. This |
| 84 | + includes 'un-deprecating' the `Player.Listener.onTracksChanged` method |
| 85 | + name, but with different parameter types. |
41 | 86 | * Change `DefaultTrackSelector.buildUponParameters` and
|
42 | 87 | `DefaultTrackSelector.Parameters.buildUpon` to return
|
43 | 88 | `DefaultTrackSelector.Parameters.Builder` instead of the deprecated
|
@@ -91,6 +136,8 @@ This release corresponds to the
|
91 | 136 | * Remove `RawCcExtractor`, which was only used to handle a Google-internal
|
92 | 137 | subtitle format.
|
93 | 138 | * Extractors:
|
| 139 | + * Add support for AVI |
| 140 | + ([#2092](https://github.com/google/ExoPlayer/issues/2092)). |
94 | 141 | * Matroska: Parse `DiscardPadding` for Opus tracks.
|
95 | 142 | * MP4: Parse bitrates from `esds` boxes.
|
96 | 143 | * Ogg: Allow duplicate Opus ID and comment headers
|
@@ -140,6 +187,8 @@ This release corresponds to the
|
140 | 187 | of `DefaultCompositeSequenceableLoaderFactory` can be passed explicitly
|
141 | 188 | if required.
|
142 | 189 | * RTSP:
|
| 190 | + * Add RTP reader for H263 |
| 191 | + ([#63](https://github.com/androidx/media/pull/63)). |
143 | 192 | * Add RTP reader for MPEG4
|
144 | 193 | ([#35](https://github.com/androidx/media/pull/35)).
|
145 | 194 | * Add RTP reader for HEVC
|
@@ -172,10 +221,11 @@ This release corresponds to the
|
172 | 221 | AndroidStudio's gradle sync to fail
|
173 | 222 | ([#9933](https://github.com/google/ExoPlayer/issues/9933)).
|
174 | 223 | * Remove deprecated symbols:
|
175 |
| - * Remove `Player.Listener.onTracksChanged`. Use |
176 |
| - `Player.Listener.onTracksInfoChanged` instead. |
| 224 | + * Remove `Player.Listener.onTracksChanged(TrackGroupArray, |
| 225 | + TrackSelectionArray)`. Use `Player.Listener.onTracksChanged(Tracks)` |
| 226 | + instead. |
177 | 227 | * Remove `Player.getCurrentTrackGroups` and
|
178 |
| - `Player.getCurrentTrackSelections`. Use `Player.getCurrentTracksInfo` |
| 228 | + `Player.getCurrentTrackSelections`. Use `Player.getCurrentTracks` |
179 | 229 | instead. You can also continue to use `ExoPlayer.getCurrentTrackGroups`
|
180 | 230 | and `ExoPlayer.getCurrentTrackSelections`, although these methods remain
|
181 | 231 | deprecated.
|
@@ -371,7 +421,7 @@ This release corresponds to the
|
371 | 421 | when creating `PendingIntent`s
|
372 | 422 | ([#9528](https://github.com/google/ExoPlayer/issues/9528)).
|
373 | 423 | * Remove deprecated symbols:
|
374 |
| - * Remove `Player.EventLister`. Use `Player.Listener` instead. |
| 424 | + * Remove `Player.EventListener`. Use `Player.Listener` instead. |
375 | 425 | * Remove `MediaSourceFactory.setDrmSessionManager`,
|
376 | 426 | `MediaSourceFactory.setDrmHttpDataSourceFactory`, and
|
377 | 427 | `MediaSourceFactory.setDrmUserAgent`. Use
|
|
0 commit comments