From b71b9f7c58d329bb3543b25205e21e4110c7c52a Mon Sep 17 00:00:00 2001 From: olly Date: Mon, 14 Oct 2019 10:26:39 +0100 Subject: [PATCH] Bump version to 2.10.6 PiperOrigin-RevId: 274534626 --- RELEASENOTES.md | 49 ++++++++++--------- constants.gradle | 4 +- .../exoplayer2/ExoPlayerLibraryInfo.java | 6 +-- 3 files changed, 30 insertions(+), 29 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index d1a5f13eb3..fc0b0bb088 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -5,14 +5,6 @@ * AV1 extension: Uses libgav1 to decode AV1 videos. Android 10 includes an AV1 decoder, but the older versions of Android require this extension for playback of AV1 streams ([#3353](https://github.com/google/ExoPlayer/issues/3353)). -* UI - * Setting `app:played_color` on `PlayerView` and `PlayerControlView` no longer - adjusts the colors of the scrubber handle , buffered and unplayed parts of - the time bar. These can be set separately using `app:scrubber_color`, - `app:buffered_color` and `app_unplayed_color` respectively. - * Setting `app:ad_marker_color` on `PlayerView` and `PlayerControlView` no - longer adjusts the color of played ad markers. The color of played ad - markers can be set separately using `app:played_ad_marker_color` * DRM: * Inject `DrmSessionManager` into the `MediaSources` instead of `Renderers` ([#5619](https://github.com/google/ExoPlayer/issues/5619)). @@ -27,21 +19,14 @@ * Remove the `DataSpec.FLAG_ALLOW_ICY_METADATA` flag. Instead, set the header `IcyHeaders.REQUEST_HEADER_ENABLE_METADATA_NAME` in the `DataSpec` `httpRequestHeaders`. -* DASH: - * Support negative @r values in segment timelines - ([#1787](https://github.com/google/ExoPlayer/issues/1787)). - * Support `Label` elements - ([#6297](https://github.com/google/ExoPlayer/issues/6297)). - * Support legacy audio channel configuration - ([#6523](https://github.com/google/ExoPlayer/issues/6523)). +* DASH: Support negative @r values in segment timelines + ([#1787](https://github.com/google/ExoPlayer/issues/1787)). * Add `allowedCapturePolicy` field to `AudioAttributes` wrapper to allow to opt-out of audio recording. * Add `DataSpec.httpRequestHeaders` to set HTTP request headers when connecting to an HTTP source. `DefaultHttpDataSource`, `CronetDataSource` and `OkHttpDataSource` include headers set in the DataSpec when connecting to the source. -* Bypass sniffing in `ProgressiveMediaPeriod` in case a single extractor is - provided ([#6325](https://github.com/google/ExoPlayer/issues/6325)). * Surface information provided by methods `isHardwareAccelerated`, `isSoftwareOnly` and `isVendor` added in Android 10 in `MediaCodecInfo` class ([#5839](https://github.com/google/ExoPlayer/issues/5839)). @@ -92,9 +77,6 @@ `setEnableWakeLock`, which requires the `android.Manifest.permission#WAKE_LOCK` permission ([#5846](https://github.com/google/ExoPlayer/issues/5846)). -* Add `Player.onPlaybackSuppressionReasonChanged` to allow listeners to - detect playbacks suppressions (e.g. audio focus loss) directly - ([#6203](https://github.com/google/ExoPlayer/issues/6203)). * VP9 extension: * Rename `VpxVideoSurfaceView` to `VideoDecoderSurfaceView` and move it to the core library. @@ -105,16 +87,35 @@ * Add `Timeline.Window.isLive` to indicate that a window is a live stream ([#2668](https://github.com/google/ExoPlayer/issues/2668) and [#5973](https://github.com/google/ExoPlayer/issues/5973)). -* Expose the raw ICY metadata through `IcyInfo` - ([#6476](https://github.com/google/ExoPlayer/issues/6476)). * Fail more explicitly when local-file Uris contain invalid parts (e.g. fragment) ([#6470](https://github.com/google/ExoPlayer/issues/6470)). * Add `MediaPeriod.isLoading` to improve `Player.isLoading` state. -* Add support for ID3-in-EMSG in HLS streams - ([spec](https://aomediacodec.github.io/av1-id3/)). * Make show and hide player controls accessible for TalkBack in `PlayerView`. * Pass the codec output `MediaFormat` to `VideoFrameMetadataListener`. +### 2.10.6 (2019-10-17) ### + +* Add `Player.onPlaybackSuppressionReasonChanged` to allow listeners to + detect playbacks suppressions (e.g. transient audio focus loss) directly + ([#6203](https://github.com/google/ExoPlayer/issues/6203)). +* DASH: + * Support `Label` elements + ([#6297](https://github.com/google/ExoPlayer/issues/6297)). + * Support legacy audio channel configuration + ([#6523](https://github.com/google/ExoPlayer/issues/6523)). +* HLS: Add support for ID3 in EMSG when using FMP4 streams + ([spec](https://aomediacodec.github.io/av1-id3/)). +* Metadata: Expose the raw ICY metadata through `IcyInfo` + ([#6476](https://github.com/google/ExoPlayer/issues/6476)). +* UI: + * Setting `app:played_color` on `PlayerView` and `PlayerControlView` no longer + adjusts the colors of the scrubber handle , buffered and unplayed parts of + the time bar. These can be set separately using `app:scrubber_color`, + `app:buffered_color` and `app_unplayed_color` respectively. + * Setting `app:ad_marker_color` on `PlayerView` and `PlayerControlView` no + longer adjusts the color of played ad markers. The color of played ad + markers can be set separately using `app:played_ad_marker_color`. + ### 2.10.5 (2019-09-20) ### * Add `Player.isPlaying` and `EventListener.onIsPlayingChanged` to check whether diff --git a/constants.gradle b/constants.gradle index e63397c352..ac4e214793 100644 --- a/constants.gradle +++ b/constants.gradle @@ -13,8 +13,8 @@ // limitations under the License. project.ext { // ExoPlayer version and version code. - releaseVersion = '2.10.5' - releaseVersionCode = 2010005 + releaseVersion = '2.10.6' + releaseVersionCode = 2010006 minSdkVersion = 16 targetSdkVersion = 28 compileSdkVersion = 29 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 bf64a14225..adc05eb204 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.10.5"; + public static final String VERSION = "2.10.6"; /** 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.10.5"; + public static final String VERSION_SLASHY = "ExoPlayerLib/2.10.6"; /** * 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 = 2010005; + public static final int VERSION_INT = 2010006; /** * Whether the library was compiled with {@link com.google.android.exoplayer2.util.Assertions}