From 278a398d3d4255f5814153803b5429f541b6b043 Mon Sep 17 00:00:00 2001 From: bachinger Date: Tue, 13 Apr 2021 17:52:30 +0100 Subject: [PATCH] Bump version to 2.13.3 PiperOrigin-RevId: 368235728 --- RELEASENOTES.md | 62 ++++--------------- constants.gradle | 4 +- .../exoplayer2/ExoPlayerLibraryInfo.java | 6 +- 3 files changed, 16 insertions(+), 56 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index c74db8f847..5622b6d5a0 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,38 +1,8 @@ # Release notes -### dev-v2 (not yet released) +### 2.13.3 (2021-04-14) -* UI: - * Add builder for `PlayerNotificationManager`. - * Add group setting to `PlayerNotificationManager`. - * Fix `StyledPlayerView` scrubber not reappearing correctly in some cases - ([#8646](https://github.com/google/ExoPlayer/issues/8646)). - * Fix measurement of `StyledPlayerView` and `StyledPlayerControlView` when - `wrap_content` is used - ([#8726](https://github.com/google/ExoPlayer/issues/8726)). - * Fix `StyledPlayerControlView` to stay in full mode (rather than minimal - mode) when possible - ([#8763](https://github.com/google/ExoPlayer/issues/8763)). -* Audio: - * Report unexpected discontinuities in - `AnalyticsListener.onAudioSinkError` - ([#6384](https://github.com/google/ExoPlayer/issues/6384)). - * Allow forcing offload for gapless content even if gapless playback is - not supported. - * Allow fall back from DTS-HD to DTS when playing via passthrough. -* Analytics: - * Add `onAudioCodecError` and `onVideoCodecError` to `AnalyticsListener`. -* Downloads and caching: - * Fix `CacheWriter` to correctly handle `DataSource.close` failures, for - which it cannot be assumed that data was successfully written to the - cache. -* Library restructuring: - * `DebugTextViewHelper` moved from `ui` package to `util` package. - * Spherical UI components moved from `video.spherical` package to - `ui.spherical` package, and made package private. * Core: - * Move `getRendererCount` and `getRendererType` methods from `Player` to - `ExoPlayer`. * Reset playback speed when live playback speed control becomes unused ([#8664](https://github.com/google/ExoPlayer/issues/8664)). * Fix playback position issue when re-preparing playback after a @@ -41,6 +11,15 @@ * Assume Dolby Vision content is encoded as H264 when calculating maximum codec input size ([#8705](https://github.com/google/ExoPlayer/issues/8705)). +* UI: + * Fix `StyledPlayerView` scrubber not reappearing correctly in some cases + ([#8646](https://github.com/google/ExoPlayer/issues/8646)). + * Fix measurement of `StyledPlayerView` and `StyledPlayerControlView` when + `wrap_content` is used + ([#8726](https://github.com/google/ExoPlayer/issues/8726)). + * Fix `StyledPlayerControlView` to stay in full mode (rather than minimal + mode) when possible + ([#8763](https://github.com/google/ExoPlayer/issues/8763)). * HLS: * Fix bug of ignoring `EXT-X-START` when setting the live target offset ([#8764](https://github.com/google/ExoPlayer/pull/8764)). @@ -61,20 +40,7 @@ in JPEG motion photo parsing. * Allow JFIF APP0 marker segment preceding Exif APP1 segment in `JpegExtractor`. -* Remove deprecated symbols: - * Remove `Player.DefaultEventListener`. Use `Player.EventListener` - instead. - * Remove `DownloadNotificationUtil`. Use `DownloadNotificationHelper` - instead. - * Remove `extension-jobdispatcher` module. Use the `extension-workmanager` - module instead. -* DRM: - * Only dispatch DRM session acquire and release events once per period - when playing content that uses the same encryption keys for both audio & - video tracks (previously separate acquire and release events were - dispatched for each track in each period). - * Include the session state in DRM session-acquired listener methods. -* Text +* Text: * Parse SSA/ASS bold & italic info in `Style:` lines ([#8435](https://github.com/google/ExoPlayer/issues/8435)). * Don't display subtitles after the end position of the current media @@ -90,12 +56,6 @@ * Metadata: * Ensure that timed metadata near the end of a period is not dropped ([#8710](https://github.com/google/ExoPlayer/issues/8710)). -* DASH: - * Parse `forced_subtitle` role from DASH manifests - ([#8781](https://github.com/google/ExoPlayer/issues/8781)). -* MediaSession extension: Remove dependency to core module and rely on common - only. The `TimelineQueueEditor` uses a new `MediaDescriptionConverter` for - this purpose and does not rely on the `ConcatenatingMediaSource` anymore. * Cast extension: * Fix `onPositionDiscontinuity` event so that it is not triggered with reason `DISCONTINUITY_REASON_PERIOD_TRANSITION` after a seek to another diff --git a/constants.gradle b/constants.gradle index 6c7eefe76f..be83f68dad 100644 --- a/constants.gradle +++ b/constants.gradle @@ -13,8 +13,8 @@ // limitations under the License. project.ext { // ExoPlayer version and version code. - releaseVersion = '2.13.2' - releaseVersionCode = 2013002 + releaseVersion = '2.13.3' + releaseVersionCode = 2013003 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 24c8505d98..0c003e6621 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 @@ -30,11 +30,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.13.2"; + public static final String VERSION = "2.13.3"; /** 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.13.2"; + public static final String VERSION_SLASHY = "ExoPlayerLib/2.13.3"; /** * The version of the library expressed as an integer, for example 1002003. @@ -44,7 +44,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 = 2013002; + public static final int VERSION_INT = 2013003; /** * The default user agent for requests made by the library.