From 9b0790e418f84d0994b9f72f81ce25536dad6ddd Mon Sep 17 00:00:00 2001 From: tonihei Date: Tue, 22 Nov 2022 14:16:35 +0000 Subject: [PATCH] Reorder some release notes in other sections. #minor-release PiperOrigin-RevId: 490224795 (cherry picked from commit e567594cf7640bd96ec13d071c4523f7898b55be) --- RELEASENOTES.md | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 05230f75297..ab5aec86e2f 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -9,45 +9,47 @@ This release corresponds to the * Add `ExoPlayer.isTunnelingEnabled` to check if tunneling is enabled for the currently selected tracks ([#2518](https://github.com/google/ExoPlayer/issues/2518)). - * 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)). - * Limit parallel download removals to 1 to avoid excessive thread creation - ([#10458](https://github.com/google/ExoPlayer/issues/10458)). + * Add `WrappingMediaSource` to simplify wrapping a single `MediaSource` + ([#7279](https://github.com/google/ExoPlayer/issues/7279)). * Discard back buffer before playback gets stuck due to insufficient available memory. * 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` ([#180](https://github.com/androidx/media/issues/180)). * Send missing `onMediaItemTransition` callback when calling `seekToNext` or `seekToPrevious` in a single-item playlist ([#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 which the video is rendered. * Fix bug where removing listeners during the player release can cause an `IllegalStateException` ([#10758](https://github.com/google/ExoPlayer/issues/10758)). * 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. +* Track selection: + * Prefer other tracks to Dolby Vision if display does not support it. + ([#8944](https://github.com/google/ExoPlayer/issues/8944)). * Downloads: * Fix potential infinite loop in `ProgressiveDownloader` caused by simultaneous download and playback with the same `PriorityTaskManager` ([#10570](https://github.com/google/ExoPlayer/pull/10570)). * 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: + * 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 AudioTrack offload state. ([#134](https://github.com/androidx/media/issues/134)). * 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 output device ([#135](https://github.com/androidx/media/issues/135)). * Rename `com.google.android.exoplayer2.audio.AudioProcessor` to