Reorder some release notes in other sections.

#minor-release

PiperOrigin-RevId: 490224795
(cherry picked from commit fa531b79249e5435af719bfbe168b999b5032b47)
This commit is contained in:
tonihei 2022-11-22 14:16:35 +00:00 committed by microkatz
parent fc505384c9
commit 103b7cde30

View File

@ -9,45 +9,47 @@ This release corresponds to the
* Add `ExoPlayer.isTunnelingEnabled` to check if tunneling is enabled for * Add `ExoPlayer.isTunnelingEnabled` to check if tunneling is enabled for
the currently selected tracks the currently selected tracks
([#2518](https://github.com/google/ExoPlayer/issues/2518)). ([#2518](https://github.com/google/ExoPlayer/issues/2518)).
* Use `SingleThreadExecutor` for releasing `AudioTrack` instances to avoid * Add `WrappingMediaSource` to simplify wrapping a single `MediaSource`
OutOfMemory errors when releasing multiple players at the same time ([#7279](https://github.com/google/ExoPlayer/issues/7279)).
([#10057](https://github.com/google/ExoPlayer/issues/10057)).
* Limit parallel download removals to 1 to avoid excessive thread creation
([#10458](https://github.com/google/ExoPlayer/issues/10458)).
* Discard back buffer before playback gets stuck due to insufficient * Discard back buffer before playback gets stuck due to insufficient
available memory. available memory.
* Close the Tracing "doSomeWork" block when offload is enabled. * Close the Tracing "doSomeWork" block when offload is enabled.
* Try alternative decoder for Dolby Vision if display does not support it.
([#9794](https://github.com/google/ExoPlayer/issues/9794)).
* Prefer other tracks to Dolby Vision if display does not support it.
([#8944](https://github.com/google/ExoPlayer/issues/8944)).
* Fix session tracking problem with fast seeks in `PlaybackStatsListener` * Fix session tracking problem with fast seeks in `PlaybackStatsListener`
([#180](https://github.com/androidx/media/issues/180)). ([#180](https://github.com/androidx/media/issues/180)).
* Send missing `onMediaItemTransition` callback when calling `seekToNext` * Send missing `onMediaItemTransition` callback when calling `seekToNext`
or `seekToPrevious` in a single-item playlist or `seekToPrevious` in a single-item playlist
([#10667](https://github.com/google/ExoPlayer/issues/10667)). ([#10667](https://github.com/google/ExoPlayer/issues/10667)).
* Enforce minimum `compileSdkVersion` to avoid compilation errors
([#10684](https://github.com/google/ExoPlayer/issues/10684)).
* Add `Player.getSurfaceSize` that returns the size of the surface on * Add `Player.getSurfaceSize` that returns the size of the surface on
which the video is rendered. which the video is rendered.
* Fix bug where removing listeners during the player release can cause an * Fix bug where removing listeners during the player release can cause an
`IllegalStateException` `IllegalStateException`
([#10758](https://github.com/google/ExoPlayer/issues/10758)). ([#10758](https://github.com/google/ExoPlayer/issues/10758)).
* Build: * Build:
* Enforce minimum `compileSdkVersion` to avoid compilation errors
([#10684](https://github.com/google/ExoPlayer/issues/10684)).
* Avoid publishing block when included in another gradle build. * Avoid publishing block when included in another gradle build.
* Track selection:
* Prefer other tracks to Dolby Vision if display does not support it.
([#8944](https://github.com/google/ExoPlayer/issues/8944)).
* Downloads: * Downloads:
* Fix potential infinite loop in `ProgressiveDownloader` caused by * Fix potential infinite loop in `ProgressiveDownloader` caused by
simultaneous download and playback with the same `PriorityTaskManager` simultaneous download and playback with the same `PriorityTaskManager`
([#10570](https://github.com/google/ExoPlayer/pull/10570)). ([#10570](https://github.com/google/ExoPlayer/pull/10570)).
* Make download notification appear immediately * Make download notification appear immediately
([#183](https://github.com/androidx/media/pull/183)) ([#183](https://github.com/androidx/media/pull/183)).
* Limit parallel download removals to 1 to avoid excessive thread creation
([#10458](https://github.com/google/ExoPlayer/issues/10458)).
* Video:
* Try alternative decoder for Dolby Vision if display does not support it.
([#9794](https://github.com/google/ExoPlayer/issues/9794)).
* Audio: * Audio:
* Use `SingleThreadExecutor` for releasing `AudioTrack` instances to avoid
OutOfMemory errors when releasing multiple players at the same time
([#10057](https://github.com/google/ExoPlayer/issues/10057)).
* Adds `AudioOffloadListener.onExperimentalOffloadedPlayback` for the * Adds `AudioOffloadListener.onExperimentalOffloadedPlayback` for the
AudioTrack offload state. AudioTrack offload state.
([#134](https://github.com/androidx/media/issues/134)). ([#134](https://github.com/androidx/media/issues/134)).
* Make `AudioTrackBufferSizeProvider` a public interface. * Make `AudioTrackBufferSizeProvider` a public interface.
* Add `WrappingMediaSource` to simplify wrapping a single `MediaSource`
([#7279](https://github.com/google/ExoPlayer/issues/7279)).
* Add `ExoPlayer.setPreferredAudioDevice` to set the preferred audio * Add `ExoPlayer.setPreferredAudioDevice` to set the preferred audio
output device ([#135](https://github.com/androidx/media/issues/135)). output device ([#135](https://github.com/androidx/media/issues/135)).
* Rename `androidx.media3.exoplayer.audio.AudioProcessor` to * Rename `androidx.media3.exoplayer.audio.AudioProcessor` to
@ -85,7 +87,7 @@ This release corresponds to the
the notification ID, the notification channel ID and the notification the notification ID, the notification channel ID and the notification
channel name used by the provider. Also, add method channel name used by the provider. Also, add method
`DefaultMediaNotificationProvider.setSmallIcon(int)` to set the `DefaultMediaNotificationProvider.setSmallIcon(int)` to set the
notifications small icon notifications small icon.
([#104](https://github.com/androidx/media/issues/104)). ([#104](https://github.com/androidx/media/issues/104)).
* Ensure commands sent before `MediaController.release()` are not dropped * Ensure commands sent before `MediaController.release()` are not dropped
([#99](https://github.com/androidx/media/issues/99)). ([#99](https://github.com/androidx/media/issues/99)).
@ -93,11 +95,9 @@ This release corresponds to the
([#108](https://github.com/androidx/media/issues/108)). ([#108](https://github.com/androidx/media/issues/108)).
* Fix assertion that prevents `MediaController` to seek over an ad in a * Fix assertion that prevents `MediaController` to seek over an ad in a
period ([#122](https://github.com/androidx/media/issues/122)). period ([#122](https://github.com/androidx/media/issues/122)).
* Fix bug where the `MediaSessionService` was kept started in the * When playback ends, the `MediaSessionService` is stopped from the
foreground and a notification with a pause button was still shown when foreground and a notification is shown to restart playback of the last
the player completed playback. Now, once playback is completed, the played media item
service is stopped from the foreground and a notification with a play
button is shown to restart playback of the last media item
([#112](https://github.com/androidx/media/issues/112)). ([#112](https://github.com/androidx/media/issues/112)).
* Don't start a foreground service with a pending intent for pause * Don't start a foreground service with a pending intent for pause
([#167](https://github.com/androidx/media/issues/167)). ([#167](https://github.com/androidx/media/issues/167)).