From 37f11161ce205d4aec7e804a4c92fecbc7cc67ff Mon Sep 17 00:00:00 2001 From: rohks Date: Fri, 15 Jul 2022 10:15:31 +0000 Subject: [PATCH] Version bump to exoplayer:2.18.1 and media3:1.0.0-beta02 #minor-release PiperOrigin-RevId: 461162552 (cherry picked from commit be27daebc4e598a4c0d532779649a77f82650911) --- .github/ISSUE_TEMPLATE/bug.yml | 1 + RELEASENOTES.md | 19 +++++++++++++++++++ constants.gradle | 4 ++-- .../media3/common/MediaLibraryInfo.java | 6 +++--- 4 files changed, 25 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index b29b2e92b0..f970c1ad12 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -17,6 +17,7 @@ body: label: Media3 Version description: What version of Media3 are you using? options: + - 1.0.0-beta02 - 1.0.0-beta01 - 1.0.0-alpha03 - 1.0.0-alpha02 diff --git a/RELEASENOTES.md b/RELEASENOTES.md index e9d3258782..5391859a21 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -2,6 +2,25 @@ ### Unreleased changes +* Core library: + * 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)). +* Metadata: + * `MetadataRenderer` can now be configured to render metadata as soon as + they are available. Create an instance with + `MetadataRenderer(MetadataOutput, Looper, MetadataDecoderFactory, + boolean)` to specify whether the renderer will output metadata early or + in sync with the player position. + +### 1.0.0-beta02 (2022-07-15) + +This release corresponds to the +[ExoPlayer 2.18.1 release](https://github.com/google/ExoPlayer/releases/tag/r2.18.1). + * Core library: * Ensure that changing the `ShuffleOrder` with `ExoPlayer.setShuffleOrder` results in a call to `Player.Listener#onTimelineChanged` with diff --git a/constants.gradle b/constants.gradle index 86c624e778..b72c48b65c 100644 --- a/constants.gradle +++ b/constants.gradle @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. project.ext { - releaseVersion = '1.0.0-beta01' - releaseVersionCode = 1_000_000_1_01 + releaseVersion = '1.0.0-beta02' + releaseVersionCode = 1_000_000_1_02 minSdkVersion = 16 appTargetSdkVersion = 29 // Upgrading this requires [Internal ref: b/193254928] to be fixed, or some diff --git a/libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java b/libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java index 4e87f65806..62be209a9b 100644 --- a/libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java +++ b/libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java @@ -29,11 +29,11 @@ public final class MediaLibraryInfo { /** The version of the library expressed as a string, for example "1.2.3" or "1.2.3-beta01". */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa. - public static final String VERSION = "1.0.0-beta01"; + public static final String VERSION = "1.0.0-beta02"; /** The version of the library expressed as {@code TAG + "/" + VERSION}. */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. - public static final String VERSION_SLASHY = "AndroidXMedia3/1.0.0-beta01"; + public static final String VERSION_SLASHY = "AndroidXMedia3/1.0.0-beta02"; /** * The version of the library expressed as an integer, for example 1002003300. @@ -47,7 +47,7 @@ public final class MediaLibraryInfo { * (123-045-006-3-00). */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. - public static final int VERSION_INT = 1_000_000_1_01; + public static final int VERSION_INT = 1_000_000_1_02; /** Whether the library was compiled with {@link Assertions} checks enabled. */ public static final boolean ASSERTIONS_ENABLED = true;