|
1 | 1 | # Release notes
|
2 | 2 |
|
3 |
| -### Unreleased changes |
| 3 | +## 1.5 |
| 4 | + |
| 5 | +### 1.5.1 (2024-12-19) |
| 6 | + |
| 7 | +This release includes the following changes since the |
| 8 | +[1.5.0 release](#150-2024-11-27): |
4 | 9 |
|
5 |
| -* Common Library: |
6 | 10 | * ExoPlayer:
|
7 |
| - * Consider language when selecting a video track. By default select a |
8 |
| - 'main' video track that matches the language of the selected audio |
9 |
| - track, if available. Explicit video language preferences can be |
10 |
| - expressed with |
11 |
| - `TrackSelectionParameters.Builder.setPreferredVideoLanguage(s)`. |
12 |
| - * Add `selectedAudioLanguage` parameter to |
13 |
| - `DefaultTrackSelector.selectVideoTrack()` method. |
14 |
| - * Add `retryCount` parameter to `MediaSourceEventListener.onLoadStarted` |
15 |
| - and corresponding `MediaSourceEventListener.EventDispatcher` methods. |
16 |
| - * Fix bug where playlist items or periods in multi-period DASH streams |
17 |
| - with durations that don't match the actual content could cause frame |
18 |
| - freezes at the end of the item |
19 |
| - ([#1698](https://github.com/androidx/media/issues/1698)). |
20 |
| - * Reduce default values for `bufferForPlaybackMs` and |
21 |
| - `bufferForPlaybackAfterRebufferMs` in `DefaultLoadControl` to 1000 and |
22 |
| - 2000 ms respectively. |
23 |
| - * Add `MediaExtractorCompat`, a new class that provides equivalent |
24 |
| - functionality to platform `MediaExtractor`. |
25 |
| - * Move `BasePreloadManager.Listener` to a top level |
26 |
| - `PreloadManagerListener`. |
27 |
| - * `RenderersFactory.createSecondaryRenderer` can be implemented to provide |
28 |
| - secondary renderers for pre-warming. Pre-warming enables quicker media |
29 |
| - item transitions during playback. |
30 |
| - * Enable sending `CmcdData` for manifest requests in adaptive streaming |
31 |
| - formats DASH, HLS, and SmoothStreaming |
32 |
| - ([#1951](https://github.com/androidx/media/issues/1951)). |
33 |
| - * Provide `MediaCodecInfo` of the codec that will be initialized in |
34 |
| - `MediaCodecRenderer.onReadyToInitializeCodec` |
35 |
| - ([#1963](https://github.com/androidx/media/pull/1963)). |
36 | 11 | * Disable use of asynchronous decryption in MediaCodec to avoid reported
|
37 | 12 | codec timeout issues with this platform API
|
38 | 13 | ([#1641](https://github.com/androidx/media/issues/1641)).
|
39 |
| -* Transformer: |
40 |
| - * Update parameters of `VideoFrameProcessor.registerInputStream` and |
41 |
| - `VideoFrameProcessor.Listener.onInputStreamRegistered` to use `Format`. |
42 |
| - * Add support for transmuxing into alternative backwards compatible |
43 |
| - formats. |
44 | 14 | * Extractors:
|
45 | 15 | * MP3: Don't stop playback early when a `VBRI` frame's table of contents
|
46 | 16 | doesn't cover all the MP3 data in a file
|
47 | 17 | ([#1904](https://github.com/androidx/media/issues/1904)).
|
48 |
| -* DataSource: |
49 |
| -* Audio: |
50 |
| - * Do not bypass `SonicAudioProcessor` when `SpeedChangingAudioProcessor` |
51 |
| - is configured with default parameters. |
52 | 18 | * Video:
|
53 | 19 | * Rollback of using `MediaCodecAdapter` supplied pixel aspect ratio values
|
54 | 20 | when provided while processing `onOutputFormatChanged`
|
55 | 21 | ([#1371](https://github.com/androidx/media/pull/1371)).
|
56 | 22 | * Text:
|
57 |
| - * Stop eagerly loading all subtitle files configured with |
58 |
| - `MediaItem.Builder.setSubtitleConfigurations`, and instead only load one |
59 |
| - if it is selected by track selection |
60 |
| - ([#1721](https://github.com/androidx/media/issues/1721)). |
61 | 23 | * Fix bug in `ReplacingCuesResolver.discardCuesBeforeTimeUs` where the cue
|
62 | 24 | active at `timeUs` (started before but not yet ended) was incorrectly
|
63 | 25 | discarded ([#1939](https://github.com/androidx/media/issues/1939)).
|
64 | 26 | * Metadata:
|
65 | 27 | * Extract disc/track numbering and genre from Vorbis comments into
|
66 | 28 | `MediaMetadata`
|
67 | 29 | ([#1958](https://github.com/androidx/media/issues/1958)).
|
68 |
| -* Image: |
69 |
| -* DRM: |
70 |
| -* Effect: |
71 |
| - * Moved the functionality of `OverlaySettings` into |
72 |
| - `StaticOverlaySettings`. `OverlaySettings` can be subclassed to allow |
73 |
| - dynamic overlay settings. |
74 |
| -* Muxers: |
75 |
| -* IMA extension: |
76 |
| -* Session: |
77 |
| - * Add 'Context' as a parameter to |
78 |
| - 'MediaButtonReceiver.shouldStartForegroundService` |
79 |
| - ([#1887](https://github.com/androidx/media/issues/1887)). |
80 |
| -* UI: |
81 |
| - * Add `PlayerSurface` Composable to `media3-ui-compose` module. |
82 |
| - * Add `PlayPauseButtonState`, `NextButtonState`, `PreviousButtonState`, |
83 |
| - `RepeatButtonState`, `ShuffleButtonState` classes and the corresponding |
84 |
| - `rememberPlayPauseButtonState`, `rememberNextButtonState`, |
85 |
| - `rememberPreviousButtonState`, `rememberRepeatButtonState`, |
86 |
| - `rememberShuffleButtonState` Composables to `media3-ui-compose` module. |
87 |
| -* Downloads: |
88 |
| -* OkHttp Extension: |
89 |
| -* Cronet Extension: |
90 |
| -* RTMP Extension: |
91 |
| -* HLS Extension: |
92 |
| -* DASH Extension: |
93 |
| - * Add AC-4 Level-4 format support for DASH |
94 |
| - ([#1898](https://github.com/androidx/media/pull/1898)). |
95 |
| -* Smooth Streaming Extension: |
96 |
| -* RTSP Extension: |
97 |
| -* Decoder Extensions (FFmpeg, VP9, AV1, etc.): |
98 |
| - * Add the MPEG-H decoder module which uses the native MPEG-H decoder |
99 |
| - module to decode MPEG-H audio |
100 |
| - ([#1826](https://github.com/androidx/media/pull/1826)). |
101 |
| -* MIDI extension: |
102 |
| -* Leanback extension: |
103 |
| -* Cast Extension: |
104 |
| -* Test Utilities: |
105 |
| -* Demo app: |
106 |
| - * Add `MinimalControls` (`PlayPauseButton`, `NextButton`, |
107 |
| - `PreviousButton`) and `ExtraControls` (`RepeatButton`, `ShuffleButton`) |
108 |
| - Composable UI elements to `demo-compose` utilizing |
109 |
| - `PlayPauseButtonState`, `NextButtonState`, `PreviousButtonState`, |
110 |
| - `RepeatButtonState`, `ShuffleButtonState`. |
111 |
| -* Remove deprecated symbols: |
112 |
| - * Remove deprecated `AudioMixer.create()` method. Use |
113 |
| - `DefaultAudioMixer.Factory().create()` instead. |
114 |
| - * Remove the following deprecated `Transformer.Builder` methods: |
115 |
| - * `setTransformationRequest()`, use `setAudioMimeType()`, |
116 |
| - `setVideoMimeType()`, and `setHdrMode()` instead. |
117 |
| - * `setAudioProcessors()`, set the audio processor in an |
118 |
| - `EditedMediaItem.Builder.setEffects()`, and pass it to |
119 |
| - `Transformer.start()` instead. |
120 |
| - * `setVideoEffects()`, set video effect in an |
121 |
| - `EditedMediaItem.Builder.setEffects()`, and pass it to |
122 |
| - `Transformer.start()` instead. |
123 |
| - * `setRemoveAudio()`, use `EditedMediaItem.Builder.setRemoveAudio()` |
124 |
| - to remove the audio from the `EditedMediaItem` passed to |
125 |
| - `Transformer.start()` instead. |
126 |
| - * `setRemoveVideo()`, use `EditedMediaItem.Builder.setRemoveVideo()` |
127 |
| - to remove the video from the `EditedMediaItem` passed to |
128 |
| - `Transformer.start()` instead. |
129 |
| - * `setFlattenForSlowMotion()`, use |
130 |
| - `EditedMediaItem.Builder.setFlattenForSlowMotion()` to flatten the |
131 |
| - `EditedMediaItem` passed to `Transformer.start()` instead. |
132 |
| - * `setListener()`, use `addListener()`, `removeListener()` or |
133 |
| - `removeAllListeners()` instead. |
134 |
| - * Remove the following deprecated `Tansformer.Listener` methods: |
135 |
| - * `onTransformationCompleted(MediaItem)`, use |
136 |
| - `onCompleted(Composition, ExportResult)` instead. |
137 |
| - * `onTransformationCompleted(MediaItem, TransformationResult)`, use |
138 |
| - `onCompleted(Composition, ExportResult)` instead. |
139 |
| - * `onTransformationError(MediaItem, Exception)`, use |
140 |
| - `onError(Composition, ExportResult, ExportException)` instead. |
141 |
| - * `onTransformationError(MediaItem, TransformationException)`, use |
142 |
| - `onError(Composition, ExportResult, ExportException)` instead. |
143 |
| - * `onTransformationError(MediaItem, TransformationResult, |
144 |
| - TransformationException)`, use `onError(Composition, ExportResult, |
145 |
| - ExportException)` instead. |
146 |
| - * `onFallbackApplied(MediaItem, TransformationRequest, |
147 |
| - TransformationRequest)`, use `onFallbackApplied(Composition, |
148 |
| - TransformationRequest, TransformationRequest)` instead. |
149 |
| - * Remove deprecated `TransformationResult` class. Use `ExportResult` |
150 |
| - instead. |
151 |
| - * Remove deprecated `TransformationException` class. Use `ExportException` |
152 |
| - instead. |
153 |
| - * Remove deprecated `Transformer.PROGRESS_STATE_NO_TRANSFORMATION`. Use |
154 |
| - `Transformer.PROGRESS_STATE_NOT_STARTED` instead. |
155 |
| - * Remove deprecated `Transformer.setListener()`. Use |
156 |
| - `Transformer.addListener()`, `Transformer.removeListener()` or |
157 |
| - `Transformer.removeAllListeners()` instead. |
158 |
| - * Remove deprecated `Transformer.startTransformation()`. Use |
159 |
| - `Transformer.start(MediaItem, String)` instead. |
160 |
| - * Remove deprecated `SingleFrameGlShaderProgram`. Use |
161 |
| - `BaseGlShaderProgram` instead. |
162 |
| - |
163 |
| -## 1.5 |
164 | 30 |
|
165 | 31 | ### 1.5.0 (2024-11-27)
|
166 | 32 |
|
|
0 commit comments