From 151b75d831261046a1bd1a82ce1486252d1370d5 Mon Sep 17 00:00:00 2001 From: olly Date: Mon, 30 Mar 2020 18:57:24 +0100 Subject: [PATCH] Bump version to 2.11.4 PiperOrigin-RevId: 303776645 --- RELEASENOTES.md | 61 ++++++++++--------- constants.gradle | 4 +- .../exoplayer2/ExoPlayerLibraryInfo.java | 6 +- 3 files changed, 37 insertions(+), 34 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 6413954741..1545b870fc 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -60,18 +60,7 @@ * `SimpleDecoderVideoRenderer` and `SimpleDecoderAudioRenderer` renamed to `DecoderVideoRenderer` and `DecoderAudioRenderer` respectively, and generalized to work with `Decoder` rather than `SimpleDecoder`. - * Fix `PlaybackStatsListener` behavior when not keeping history - ([#7160](https://github.com/google/ExoPlayer/issues/7160)). -* Audio: - * Enable playback speed adjustment and silence skipping for floating point - PCM audio, via resampling to 16-bit integer PCM. To output the original - floating point audio without adjustment, pass `enableFloatOutput=true` - to the `DefaultAudioSink` constructor - ([#7134](https://github.com/google/ExoPlayer/issues/7134)). * Add media item based playlist API to Player. - * Workaround issue that could cause slower than realtime playback of AAC - on Android 10 - ([#6671](https://github.com/google/ExoPlayer/issues/6671)). * Text: * Parse `` and `` tags in WebVTT subtitles (rendering is coming later). @@ -86,13 +75,8 @@ [background](https://www.w3.org/TR/webvtt1/#default-text-background) colors ([PR #4178](https://github.com/google/ExoPlayer/pull/4178), [issue #6581](https://github.com/google/ExoPlayer/issues/6581)). - * Catch-and-log all fatal exceptions in `TextRenderer` instead of - re-throwing, allowing playback to continue even if subtitles fail - ([#6885](https://github.com/google/ExoPlayer/issues/6885)). * Parse `tts:ruby` and `tts:rubyPosition` properties in TTML subtitles (rendering is coming later). - * Allow missing hours & milliseconds in SubRip (.srt) timecodes - ([#7122](https://github.com/google/ExoPlayer/issues/7122)). * DRM: * Add support for attaching DRM sessions to clear content in the demo app. * Remove `DrmSessionManager` references from all renderers. @@ -104,10 +88,6 @@ * Remove generics from DRM components. * Downloads: Merge downloads in `SegmentDownloader` to improve overall download speed ([#5978](https://github.com/google/ExoPlayer/issues/5978)). -* DASH: - * Update the manifest URI to avoid repeated HTTP redirects - ([#6907](https://github.com/google/ExoPlayer/issues/6907)). - * Parse period `AssetIdentifier` elements. * MP3: Add `IndexSeeker` for accurate seeks in VBR streams ([#6787](https://github.com/google/ExoPlayer/issues/6787)). This seeker is enabled by passing `FLAG_ENABLE_INDEX_SEEKING` to the `Mp3Extractor`. It may @@ -115,8 +95,6 @@ costly on large files. * MP4: Store the Android capture frame rate only in `Format.metadata`. `Format.frameRate` now stores the calculated frame rate. -* WAV: Fix failure to play WAV files that contain trailing non-media bytes - ([#7129](https://github.com/google/ExoPlayer/issues/7129)). * Testing * Upgrade Truth dependency from 0.44 to 1.0. * Upgrade to JUnit 4.13-rc-2. @@ -124,17 +102,42 @@ * Add `showScrubber` and `hideScrubber` methods to DefaultTimeBar. * Move logic of prev, next, fast forward and rewind to ControlDispatcher ([#6926](https://github.com/google/ExoPlayer/issues/6926)). - * Add an option to set whether to use the orientation sensor for rotation - in spherical playbacks - ([#6761](https://github.com/google/ExoPlayer/issues/6761)). * Metadata: Add minimal DVB Application Information Table (AIT) support ([#6922](https://github.com/google/ExoPlayer/pull/6922)). -* The demo app startup selected item is the last played one. -* Add support for x86_64 for the ffmpeg extension. * Cast extension: Implement playlist API and deprecate the old queue manipulation API. -* Opus extension: Fix parsing of negative gain values - ([#7046](https://github.com/google/ExoPlayer/issues/7046)). +* Demo app: Retain previous position in list of samples. + +### 2.11.4 (2020-04-01) ### + +* Text: + * Catch and log exceptions in `TextRenderer` rather than re-throwing. This + allows playback to continue even if subtitle decoding fails + ([#6885](https://github.com/google/ExoPlayer/issues/6885)). + * Allow missing hours and milliseconds in SubRip (.srt) timecodes + ([#7122](https://github.com/google/ExoPlayer/issues/7122)). +* Audio: + * Workaround issue that could cause slower than realtime playback of AAC on + Android 10 ([#6671](https://github.com/google/ExoPlayer/issues/6671). + * Enable playback speed adjustment and silence skipping for floating point PCM + audio, via resampling to 16-bit integer PCM. To output the original floating + point audio without adjustment, pass `enableFloatOutput=true` to the + `DefaultAudioSink` constructor + ([#7134](https://github.com/google/ExoPlayer/issues/7134)). + * Fix failure to play WAV files that contain trailing non-media bytes + ([#7129](https://github.com/google/ExoPlayer/issues/7129)) +* DASH: + * Update the manifest URI to avoid repeated HTTP redirects + ([#6907](https://github.com/google/ExoPlayer/issues/6907)). + * Parse period `AssetIdentifier` elements. +* UI: Add an option to set whether to use the orientation sensor for rotation + in spherical playbacks + ([#6761](https://github.com/google/ExoPlayer/issues/6761)). +* Analytics: Fix `PlaybackStatsListener` behavior when not keeping history + ([#7160](https://github.com/google/ExoPlayer/issues/7160)). +* FFmpeg extension: Add support for `x86_64` architecture. +* Opus extension: Fix parsing of negative gain values + ([#7046](https://github.com/google/ExoPlayer/issues/7046)). ### 2.11.3 (2020-02-19) ### diff --git a/constants.gradle b/constants.gradle index 377765343b..c06858e244 100644 --- a/constants.gradle +++ b/constants.gradle @@ -13,8 +13,8 @@ // limitations under the License. project.ext { // ExoPlayer version and version code. - releaseVersion = '2.11.3' - releaseVersionCode = 2011003 + releaseVersion = '2.11.4' + releaseVersionCode = 2011004 minSdkVersion = 16 appTargetSdkVersion = 29 targetSdkVersion = 28 // TODO: Bump once b/143232359 is resolved. Also fix TODOs in UtilTest. diff --git a/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java b/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java index 51d077270a..06743732e7 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java @@ -29,11 +29,11 @@ public final class ExoPlayerLibraryInfo { /** The version of the library expressed as a string, for example "1.2.3". */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa. - public static final String VERSION = "2.11.3"; + public static final String VERSION = "2.11.4"; /** The version of the library expressed as {@code "ExoPlayerLib/" + VERSION}. */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. - public static final String VERSION_SLASHY = "ExoPlayerLib/2.11.3"; + public static final String VERSION_SLASHY = "ExoPlayerLib/2.11.4"; /** * The version of the library expressed as an integer, for example 1002003. @@ -43,7 +43,7 @@ public final class ExoPlayerLibraryInfo { * integer version 123045006 (123-045-006). */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. - public static final int VERSION_INT = 2011003; + public static final int VERSION_INT = 2011004; /** * Whether the library was compiled with {@link com.google.android.exoplayer2.util.Assertions}