From bf88b043806d7fbdd027a0fd37a8e91378c83ab3 Mon Sep 17 00:00:00 2001 From: olly Date: Thu, 3 May 2018 10:21:48 -0700 Subject: [PATCH] Bump version to 2.8.0 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=195271273 --- RELEASENOTES.md | 42 ++++++++++--------- constants.gradle | 4 +- .../exoplayer2/ExoPlayerLibraryInfo.java | 6 +-- 3 files changed, 27 insertions(+), 25 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index b9913b94e7..a39e28a57f 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -3,21 +3,9 @@ ### dev-v2 (not yet released) ### * Added dependency on checkerframework annotations for static code analysis. -* Optimize seeking in FMP4 by enabling seeking to the nearest sync sample within - a fragment. This benefits standalone FMP4 playbacks, DASH and SmoothStreaming. -* Moved initial bitrate estimate from `AdaptiveTrackSelection` to - `DefaultBandwidthMeter`. -* Updated default max buffer length in `DefaultLoadControl`. -* Added `AnalyticsListener` interface which can be registered in - `SimpleExoPlayer` to receive detailed meta data for each ExoPlayer event. -* Added `getPlaybackError` to `Player` interface. -* UI components: - * Add support for displaying error messages and a buffering spinner in - `PlayerView`. - * Add support for listening to `AspectRatioFrameLayout`'s aspect ratio update - ([#3736](https://github.com/google/ExoPlayer/issues/3736)). - * Add `PlayerNotificationManager` for displaying notifications reflecting the - player state. + +### 2.8.0 ### + * Downloading: Add `DownloadService`, `DownloadManager` and related classes ([#2643](https://github.com/google/ExoPlayer/issues/2643)). * MediaSources: @@ -36,8 +24,13 @@ * Support live stream clipping with `ClippingMediaSource`. * Allow setting tags for all media sources in their factories. The tag of the current window can be retrieved with `ExoPlayer.getCurrentTag`. -* IMA: Allow setting the ad media load timeout - ([#3691](https://github.com/google/ExoPlayer/issues/3691)). +* UI components: + * Add support for displaying error messages and a buffering spinner in + `PlayerView`. + * Add support for listening to `AspectRatioFrameLayout`'s aspect ratio update + ([#3736](https://github.com/google/ExoPlayer/issues/3736)). + * Add `PlayerNotificationManager` for displaying notifications reflecting the + player state. * Audio: * Support extracting data from AMR container formats, including both narrow and wide band ([#2527](https://github.com/google/ExoPlayer/issues/2527)). @@ -64,9 +57,8 @@ * Allow overriding skipping/scaling with custom `AudioProcessor`s ((#3142)[https://github.com/google/ExoPlayer/issues/3142]). * Caching: - * Add release method to Cache interface. - * Prevent multiple instances of SimpleCache in the same folder. - Previous instance must be released. + * Add release method to the `Cache` interface, and prevent multiple instances + of `SimpleCache` using the same folder at the same time. * Cache redirect URLs ([#2360](https://github.com/google/ExoPlayer/issues/2360)). * DRM: @@ -87,12 +79,22 @@ ([#4164](https://github.com/google/ExoPlayer/issues/4182)). * Fix seeking in live streams ([#4187](https://github.com/google/ExoPlayer/issues/4187)). +* IMA: Allow setting the ad media load timeout + ([#3691](https://github.com/google/ExoPlayer/issues/3691)). +* Add `AnalyticsListener` interface which can be registered in + `SimpleExoPlayer` to receive detailed metadata for each ExoPlayer event. +* Optimize seeking in FMP4 by enabling seeking to the nearest sync sample within + a fragment. This benefits standalone FMP4 playbacks, DASH and SmoothStreaming. +* Updated default max buffer length in `DefaultLoadControl`. * Fix ClearKey decryption error if the key contains a forward slash ([#4075](https://github.com/google/ExoPlayer/issues/4075)). * Fix crash when switching surface on Huawei P9 Lite ([#4084](https://github.com/google/ExoPlayer/issues/4084)), and Philips QM163E ([#4104](https://github.com/google/ExoPlayer/issues/4104)). * Support ZLIB compressed PGS subtitles. +* Added `getPlaybackError` to `Player` interface. +* Moved initial bitrate estimate from `AdaptiveTrackSelection` to + `DefaultBandwidthMeter`. * Removed default renderer time offset of 60000000 from internal player. The actual renderer timestamp offset can be obtained by listening to `BaseRenderer.onStreamChanged`. diff --git a/constants.gradle b/constants.gradle index 211a4568b3..05a9346eb7 100644 --- a/constants.gradle +++ b/constants.gradle @@ -13,8 +13,8 @@ // limitations under the License. project.ext { // ExoPlayer version and version code. - releaseVersion = '2.7.3' - releaseVersionCode = 2703 + releaseVersion = '2.8.0' + releaseVersionCode = 2800 // Important: ExoPlayer specifies a minSdkVersion of 14 because various // components provided by the library may be of use on older devices. // However, please note that the core media playback functionality provided diff --git a/library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java b/library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java index e91495227e..98d5fe91b7 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java +++ b/library/core/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.7.3"; + public static final String VERSION = "2.8.0"; /** 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.7.3"; + public static final String VERSION_SLASHY = "ExoPlayerLib/2.8.0"; /** * 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 = 2007003; + public static final int VERSION_INT = 2008000; /** * Whether the library was compiled with {@link com.google.android.exoplayer2.util.Assertions}