|
1 | 1 | # Release notes |
2 | 2 |
|
| 3 | +### 2.18.3 (2023-02-16) |
| 4 | + |
| 5 | +This release corresponds to the |
| 6 | +[AndroidX Media3 1.0.0-rc01 release](https://github.com/androidx/media/releases/tag/1.0.0-rc01). |
| 7 | + |
| 8 | +* Core library: |
| 9 | + * Tweak the renderer's decoder ordering logic to uphold the |
| 10 | + `MediaCodecSelector`'s preferences, even if a decoder reports it may not |
| 11 | + be able to play the media performantly. For example with default |
| 12 | + selector, hardware decoder with only functional support will be |
| 13 | + preferred over software decoder that fully supports the format |
| 14 | + ([#10604](https://github.com/google/ExoPlayer/issues/10604)). |
| 15 | + * Add `ExoPlayer.Builder.setPlaybackLooper` that sets a pre-existing |
| 16 | + playback thread for a new ExoPlayer instance. |
| 17 | + * Allow download manager helpers to be cleared |
| 18 | + ([#10776](https://github.com/google/ExoPlayer/issues/10776)). |
| 19 | + * Add parameter to `BasePlayer.seekTo` to also indicate the command used |
| 20 | + for seeking. |
| 21 | + * Use theme when loading drawables on API 21+ |
| 22 | + ([#220](https://github.com/androidx/media/issues/220)). |
| 23 | + * Add `ConcatenatingMediaSource2` that allows combining multiple media |
| 24 | + items into a single window |
| 25 | + ([#247](https://github.com/androidx/media/issues/247)). |
| 26 | +* Extractors: |
| 27 | + * Throw a `ParserException` instead of a `NullPointerException` if the |
| 28 | + sample table (stbl) is missing a required sample description (stsd) when |
| 29 | + parsing trak atoms. |
| 30 | + * Correctly skip samples when seeking directly to a sync frame in fMP4 |
| 31 | + ([#10941](https://github.com/google/ExoPlayer/issues/10941)). |
| 32 | +* Audio: |
| 33 | + * Use the compressed audio format bitrate to calculate the min buffer size |
| 34 | + for `AudioTrack` in direct playbacks (passthrough). |
| 35 | +* Text: |
| 36 | + * Fix `TextRenderer` passing an invalid (negative) index to |
| 37 | + `Subtitle.getEventTime` if a subtitle file contains no cues. |
| 38 | + * SubRip: Add support for UTF-16 files if they start with a byte order |
| 39 | + mark. |
| 40 | +* Metadata: |
| 41 | + * Parse multiple null-separated values from ID3 frames, as permitted by |
| 42 | + ID3 v2.4. |
| 43 | + * Add `MediaMetadata.mediaType` to denote the type of content or the type |
| 44 | + of folder described by the metadata. |
| 45 | + * Add `MediaMetadata.isBrowsable` as a replacement for |
| 46 | + `MediaMetadata.folderType`. The folder type will be deprecated in the |
| 47 | + next release. |
| 48 | +* DASH: |
| 49 | + * Add full parsing for image adaptation sets, including tile counts |
| 50 | + ([#3752](https://github.com/google/ExoPlayer/issues/3752)). |
| 51 | +* UI: |
| 52 | + * Fix the deprecated |
| 53 | + `StyledPlayerView.setControllerVisibilityListener(StyledPlayerControlView.VisibilityListener)` |
| 54 | + to ensure visibility changes are passed to the registered listener |
| 55 | + ([#229](https://github.com/androidx/media/issues/229)). |
| 56 | + * Fix the ordering of the center player controls in `StyledPlayerView` |
| 57 | + when using a right-to-left (RTL) layout |
| 58 | + ([#227](https://github.com/androidx/media/issues/227)). |
| 59 | +* Cast extension: |
| 60 | + * Bump Cast SDK version to 21.2.0. |
| 61 | +* IMA extension: |
| 62 | + * Remove player listener of the `ImaServerSideAdInsertionMediaSource` on |
| 63 | + the application thread to avoid threading issues. |
| 64 | + * Add a property `focusSkipButtonWhenAvailable` to the |
| 65 | + `ImaServerSideAdInsertionMediaSource.AdsLoader.Builder` to request |
| 66 | + focusing the skip button on TV devices and set it to true by default. |
| 67 | + * Add a method `focusSkipButton()` to the |
| 68 | + `ImaServerSideAdInsertionMediaSource.AdsLoader` to programmatically |
| 69 | + request to focus the skip button. |
| 70 | + * Fix a bug which prevented playback from starting for a DAI stream |
| 71 | + without any ads. |
| 72 | + * Bump IMA SDK version to 3.29.0. |
| 73 | +* Demo app: |
| 74 | + * Request notification permission for download notifications at runtime |
| 75 | + ([#10884](https://github.com/google/ExoPlayer/issues/10884)). |
| 76 | + |
3 | 77 | ### 2.18.2 (2022-11-22) |
4 | 78 |
|
5 | 79 | This release corresponds to the |
|
0 commit comments