Bump version to 2.7.1 and update release notes

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=188514063
This commit is contained in:
olly 2018-03-09 11:38:20 -08:00 committed by Oliver Woodman
parent 0e756b0e71
commit 9c10c2d2a6
3 changed files with 28 additions and 31 deletions

View File

@ -8,12 +8,7 @@
* UI components: * UI components:
* Add support for listening to `AspectRatioFrameLayout`'s aspect ratio update * Add support for listening to `AspectRatioFrameLayout`'s aspect ratio update
([#3736](https://github.com/google/ExoPlayer/issues/3736)). ([#3736](https://github.com/google/ExoPlayer/issues/3736)).
* Gradle: Replace 'compile' configuration (deprecated) with 'implementation' and * Add PlayerNotificationManager.
'api'. Note: This may lead to build breakage for applications upgrading from
previous version that rely on indirect dependency for certain modules. In such
cases, application developers need to add the missing dependency directly to
resolve this issue. You can read more about the new dependency configurations
[here](https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html#new_configurations).
* Downloading: Add `DownloadService`, `DownloadManager` and * Downloading: Add `DownloadService`, `DownloadManager` and
related classes ([#2643](https://github.com/google/ExoPlayer/issues/2643)). related classes ([#2643](https://github.com/google/ExoPlayer/issues/2643)).
* MediaSources: * MediaSources:
@ -23,21 +18,27 @@
* Merged `DynamicConcatenatingMediaSource` into `ConcatenatingMediaSource` and * Merged `DynamicConcatenatingMediaSource` into `ConcatenatingMediaSource` and
deprecated `DynamicConcatenatingMediaSource`. deprecated `DynamicConcatenatingMediaSource`.
* Allow clipping of child media sources where the period and window have a * Allow clipping of child media sources where the period and window have a
non-zero offset with `ClippingMediaSource` non-zero offset with `ClippingMediaSource`.
([#3888](https://github.com/google/ExoPlayer/issues/3888)).
* HlsMediaSource: make HLS periods start at zero instead of the epoch. ### 2.7.1 ###
Note: applications that rely on HLS timelines having a period starting at
the epoch will need to update their handling of HLS timelines. The program * Gradle: Replaced 'compile' (deprecated) with 'implementation' and
date time is still available via the informational 'api'. This may lead to build breakage for applications upgrading from
`Timeline.Window.windowStartTimeMs` field previous version that rely on indirect dependencies of certain modules. In
([#3865](https://github.com/google/ExoPlayer/issues/3865)). such cases, application developers need to add the missing dependency to
* Allow adding and removing `MediaSourceEventListener`s to MediaSources after their gradle file. You can read more about the new dependency configurations
they have been created. [here](https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html#new_configurations).
* HlsMediaSource: Make HLS periods start at zero instead of the epoch.
Applications that rely on HLS timelines having a period starting at
the epoch will need to update their handling of HLS timelines. The program
date time is still available via the informational
`Timeline.Window.windowStartTimeMs` field
([#3865](https://github.com/google/ExoPlayer/issues/3865),
[#3888](https://github.com/google/ExoPlayer/issues/3888)).
* Enable seeking in MP4 streams where duration is set incorrectly in the track * Enable seeking in MP4 streams where duration is set incorrectly in the track
header ([#3926](https://github.com/google/ExoPlayer/issues/3926)). header ([#3926](https://github.com/google/ExoPlayer/issues/3926)).
* Video: force rendering a frame periodically in `MediaCodecVideoRenderer` and * Video: Force rendering a frame periodically in `MediaCodecVideoRenderer` and
`LibvpxVideoRenderer`, even if it is late. `LibvpxVideoRenderer`, even if it is late.
* Add PlayerNotificationManager.
### 2.7.0 ### ### 2.7.0 ###

View File

@ -13,8 +13,8 @@
// limitations under the License. // limitations under the License.
project.ext { project.ext {
// ExoPlayer version and version code. // ExoPlayer version and version code.
releaseVersion = '2.7.0' releaseVersion = '2.7.1'
releaseVersionCode = 2700 releaseVersionCode = 2701
// Important: ExoPlayer specifies a minSdkVersion of 14 because various // Important: ExoPlayer specifies a minSdkVersion of 14 because various
// components provided by the library may be of use on older devices. // components provided by the library may be of use on older devices.
// However, please note that the core media playback functionality provided // However, please note that the core media playback functionality provided

View File

@ -27,27 +27,23 @@ public final class ExoPlayerLibraryInfo {
*/ */
public static final String TAG = "ExoPlayer"; public static final String TAG = "ExoPlayer";
/** /** The version of the library expressed as a string, for example "1.2.3". */
* 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. // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa.
public static final String VERSION = "2.7.0"; public static final String VERSION = "2.7.1";
/** /** The version of the library expressed as {@code "ExoPlayerLib/" + VERSION}. */
* The version of the library expressed as {@code "ExoPlayerLib/" + VERSION}.
*/
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
public static final String VERSION_SLASHY = "ExoPlayerLib/2.7.0"; public static final String VERSION_SLASHY = "ExoPlayerLib/2.7.1";
/** /**
* The version of the library expressed as an integer, for example 1002003. * The version of the library expressed as an integer, for example 1002003.
* <p> *
* Three digits are used for each component of {@link #VERSION}. For example "1.2.3" has the * <p>Three digits are used for each component of {@link #VERSION}. For example "1.2.3" has the
* corresponding integer version 1002003 (001-002-003), and "123.45.6" has the corresponding * corresponding integer version 1002003 (001-002-003), and "123.45.6" has the corresponding
* integer version 123045006 (123-045-006). * integer version 123045006 (123-045-006).
*/ */
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
public static final int VERSION_INT = 2007000; public static final int VERSION_INT = 2007001;
/** /**
* Whether the library was compiled with {@link com.google.android.exoplayer2.util.Assertions} * Whether the library was compiled with {@link com.google.android.exoplayer2.util.Assertions}