From 88d2a6a3484520e8b2955b5e1e1d2c39ec46ec3d Mon Sep 17 00:00:00 2001 From: olly Date: Wed, 14 Dec 2016 07:28:58 -0800 Subject: [PATCH] Bump version + update release notes ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=142015031 --- RELEASENOTES.md | 80 ++++++++++++++++++- build.gradle | 2 +- demo/src/main/AndroidManifest.xml | 4 +- .../exoplayer2/ExoPlayerLibraryInfo.java | 6 +- .../src/androidTest/AndroidManifest.xml | 4 +- 5 files changed, 84 insertions(+), 12 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index ce002238ef..23334c99f6 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,9 +1,63 @@ # Release notes # -### r2.0.4 ### +### r2.1.0 ### -This release contains important bug fixes. Users of earlier r2.0.x versions -should proactively update to this version. +This release contains important bug fixes. Users of r2.0.x should proactively +update to this version. + +* HLS: Support for seeking in live streams + ([87](https://github.com/google/ExoPlayer/issues/87)). +* HLS: Improved support: + * Support for EXT-X-PROGRAM-DATE-TIME + ([747](https://github.com/google/ExoPlayer/issues/747)). + * Improved handling of sample timestamps and their alignment across variants + and renditions. + * Fix issue that could cause playbacks to get stuck in an endless initial + buffering state. + * Correctly propagate BehindLiveWindowException instead of + IndexOutOfBoundsException exception + ([1695](https://github.com/google/ExoPlayer/issues/1695)). +* MP3/MP4: Support for ID3 metadata, including embedded album art + ([979](https://github.com/google/ExoPlayer/issues/979)). +* Improved customization of UI components. You can read about customization of + ExoPlayer's UI components + [here](https://medium.com/google-exoplayer/customizing-exoplayers-ui-components-728cf55ee07a#.9ewjg7avi). +* Robustness improvements when handling MediaSource timeline changes and + MediaPeriod transitions. +* EIA608: Support for caption styling and positioning. +* MPEG-TS: Improved support: + * Support injection of custom TS payload readers. + * Support injection of custom section payload readers. + * Support SCTE-35 splice information messages. + * Support multiple table sections in a single PSI section. + * Fix NullPointerException when an unsupported stream type is encountered + ([2149](https://github.com/google/ExoPlayer/issues/2149)). + * Avoid failure when expected ID3 header not found + ([1966](https://github.com/google/ExoPlayer/issues/1966)). +* Improvements to the upstream cache package. + * Support caching of media segments for DASH, HLS and SmoothStreaming. Note + that caching of manifest and playlist files is still not supported in the + (normal) case where the corresponding responses are compressed. + * Support caching for ExtractorMediaSource based playbacks. +* Improved flexibility of SimpleExoPlayer + ([2102](https://github.com/google/ExoPlayer/issues/2102)). +* Fix issue where only the audio of a video would play due to capability + detection issues ([2007](https://github.com/google/ExoPlayer/issues/2007)) + ([2034](https://github.com/google/ExoPlayer/issues/2034)) + ([2157](https://github.com/google/ExoPlayer/issues/2157)). +* Fix issues that could cause ExtractorMediaSource based playbacks to get stuck + buffering ([1962](https://github.com/google/ExoPlayer/issues/1962)). +* Correctly set SimpleExoPlayerView surface aspect ratio when an active player + is attached ([2077](https://github.com/google/ExoPlayer/issues/1976)). +* OGG: Fix playback of short OGG files + ([1976](https://github.com/google/ExoPlayer/issues/1976)). +* MP4: Support `.mp3` tracks + ([2066](https://github.com/google/ExoPlayer/issues/2066)). +* SubRip: Don't fail playbacks if SubRip file contains negative timestamps + ([2145](https://github.com/google/ExoPlayer/issues/2145)). +* Misc bugfixes. + +### r2.0.4 ### * Fix crash on Jellybean devices when using playback controls ([#1965](https://github.com/google/ExoPlayer/issues/1965)). @@ -113,6 +167,26 @@ some of the motivations behind ExoPlayer 2.x * Suppressed "Sending message to a Handler on a dead thread" warnings ([#426](https://github.com/google/ExoPlayer/issues/426)). +# Legacy release notes # + +Note: Since ExoPlayer V1 is still being maintained alongside V2, there is some +overlap between these notes and the notes above. r2.0.0 followed from r1.5.11, +and hence it can be assumed that all changes in r1.5.11 and earlier are included +in all V2 releases. This cannot be assumed for changes in r1.5.12 and later, +however it can be assumed that all such changes are included in the most recent +V2 release. + +### r1.5.13 ### + +* Improvements to the upstream cache package. +* MP4: Support `.mp3` tracks + ([2066](https://github.com/google/ExoPlayer/issues/2066)). +* SubRip: Don't fail playbacks if SubRip file contains negative timestamps + ([2145](https://github.com/google/ExoPlayer/issues/2145)). +* MPEG-TS: Avoid failure when expected ID3 header not found + ([1966](https://github.com/google/ExoPlayer/issues/1966)). +* Misc bugfixes. + ### r1.5.12 ### * Improvements to Cronet network stack extension. diff --git a/build.gradle b/build.gradle index 9d14c36b1b..0ea3ad66f3 100644 --- a/build.gradle +++ b/build.gradle @@ -35,7 +35,7 @@ allprojects { releaseRepoName = 'exoplayer' releaseUserOrg = 'google' releaseGroupId = 'com.google.android.exoplayer' - releaseVersion = 'r2.0.4' + releaseVersion = 'r2.1.0' releaseWebsite = 'https://github.com/google/ExoPlayer' } } diff --git a/demo/src/main/AndroidManifest.xml b/demo/src/main/AndroidManifest.xml index 2378627ffa..d1b44abafe 100644 --- a/demo/src/main/AndroidManifest.xml +++ b/demo/src/main/AndroidManifest.xml @@ -16,8 +16,8 @@ + android:versionCode="2100" + android:versionName="2.1.0"> diff --git a/library/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java b/library/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java index 02c70bb0be..45f63d713d 100644 --- a/library/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java +++ b/library/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java @@ -23,7 +23,7 @@ public interface ExoPlayerLibraryInfo { /** * The version of the library, expressed as a string. */ - String VERSION = "2.0.4"; + String VERSION = "2.1.0"; /** * The version of the library, expressed as an integer. @@ -32,7 +32,7 @@ public interface ExoPlayerLibraryInfo { * corresponding integer version 1002003 (001-002-003), and "123.45.6" has the corresponding * integer version 123045006 (123-045-006). */ - int VERSION_INT = 2000004; + int VERSION_INT = 2001000; /** * Whether the library was compiled with {@link com.google.android.exoplayer2.util.Assertions} @@ -45,5 +45,5 @@ public interface ExoPlayerLibraryInfo { * trace enabled. */ boolean TRACE_ENABLED = true; - + } diff --git a/playbacktests/src/androidTest/AndroidManifest.xml b/playbacktests/src/androidTest/AndroidManifest.xml index 384bf7214b..2f7bbe6d7c 100644 --- a/playbacktests/src/androidTest/AndroidManifest.xml +++ b/playbacktests/src/androidTest/AndroidManifest.xml @@ -16,9 +16,7 @@ + package="com.google.android.exoplayer2.playbacktests">