2.11.2 release notes and version bump

PiperOrigin-RevId: 290269098
This commit is contained in:
olly 2020-01-17 15:47:36 +00:00 committed by Oliver Woodman
parent 598538253a
commit 118d690666
3 changed files with 56 additions and 54 deletions

View File

@ -2,15 +2,37 @@
### dev-v2 (not yet released) ### ### dev-v2 (not yet released) ###
* Core library:
* Add playlist API ([#6161](https://github.com/google/ExoPlayer/issues/6161)).
* Add `play` and `pause` methods to `Player`.
* Add `Player.getCurrentLiveOffset` to conveniently return the live offset.
* Make `MediaSourceEventListener.LoadEventInfo` and
`MediaSourceEventListener.MediaLoadData` top-level classes.
* Rename `MediaCodecRenderer.onOutputFormatChanged` to
`MediaCodecRenderer.onOutputMediaFormatChanged`, further
clarifying the distinction between `Format` and `MediaFormat`.
* Text:
* Parse `<ruby>` and `<rt>` tags in WebVTT subtitles (rendering is coming
later).
* Parse `text-combine-upright` CSS property (i.e. tate-chu-yoko) in WebVTT
subtitles (rendering is coming later).
* DRM: Add support for attaching DRM sessions to clear content in the demo app.
* MP4: Store the Android capture frame rate only in `Format.metadata`.
`Format.frameRate` now stores the calculated frame rate.
* Testing
* Upgrade Truth dependency from 0.44 to 1.0.
* Upgrade to JUnit 4.13-rc-2.
### 2.11.2 (TBD) ###
* Add Java FLAC extractor * Add Java FLAC extractor
([#6406](https://github.com/google/ExoPlayer/issues/6406)). ([#6406](https://github.com/google/ExoPlayer/issues/6406)).
If `DefaultExtractorsFactory` is used, this extractor is only used if the FLAC * Startup latency optimization:
extension is not loaded. * Reduce startup latency for DASH and SmoothStreaming playbacks by allowing
* Make `MediaSourceEventListener.LoadEventInfo` and codec initialization to occur before the network connection for the first
`MediaSourceEventListener.MediaLoadData` top-level classes. media segment has been established.
* Rename `MediaCodecRenderer.onOutputFormatChanged` to * Reduce startup latency for on-demand DASH playbacks by allowing codec
`MediaCodecRenderer.onOutputMediaFormatChanged`, further initialization to occur before the sidx box has been loaded.
clarifying the distinction between `Format` and `MediaFormat`.
* Downloads: * Downloads:
* Merge downloads in `SegmentDownloader` to improve overall download * Merge downloads in `SegmentDownloader` to improve overall download
speed ([#5978](https://github.com/google/ExoPlayer/issues/5978)). speed ([#5978](https://github.com/google/ExoPlayer/issues/5978)).
@ -19,60 +41,40 @@
[#6798](https://github.com/google/ExoPlayer/issues/6798)). [#6798](https://github.com/google/ExoPlayer/issues/6798)).
* Fix `DownloadHelper.createMediaSource` to use `customCacheKey` when creating * Fix `DownloadHelper.createMediaSource` to use `customCacheKey` when creating
`ProgressiveMediaSource` instances. `ProgressiveMediaSource` instances.
* In MP4 streams, store the Android capture frame rate only in * Metadata:
`Format.metadata`. `Format.frameRate` now stores the calculated frame rate. * Update `IcyDecoder` to try ISO-8859-1 decoding if UTF-8 decoding fails.
* Add `play` and `pause` methods to `Player`. Also change `IcyInfo.rawMetadata` from `String` to `byte[]` to allow
* Upgrade Truth dependency from 0.44 to 1.0. developers to handle data that's neither UTF-8 nor ISO-8859-1
* Upgrade to JUnit 4.13-rc-2. ([#6753](https://github.com/google/ExoPlayer/issues/6753)).
* Add support for attaching DRM sessions to clear content in the demo app. * Select multiple metadata tracks if multiple metadata renderers are available
* Add `SpannedSubject` to testutils, for assertions on ([#6676](https://github.com/google/ExoPlayer/issues/6676)).
[Span-styled text]( https://developer.android.com/guide/topics/text/spans) * UI:
(e.g. subtitles). * Show ad group markers in `DefaultTimeBar` even if they are after the end
* Add `Player.getCurrentLiveOffset` to conveniently return the live offset. of the current window
* Update `IcyDecoder` to try ISO-8859-1 decoding if UTF-8 decoding fails. ([#6552](https://github.com/google/ExoPlayer/issues/6552)).
Also change `IcyInfo.rawMetadata` from `String` to `byte[]` to allow * Don't use notification chronometer if playback speed is != 1.0
developers to handle data that's neither UTF-8 nor ISO-8859-1 ([#6816](https://github.com/google/ExoPlayer/issues/6816)).
([#6753](https://github.com/google/ExoPlayer/issues/6753)). * WAV:
* Add playlist API ([#6161](https://github.com/google/ExoPlayer/issues/6161)). * Support IMA ADPCM encoded data.
* Improve support for G.711 A-law and mu-law encoded data.
* MP4: Support "twos" codec (big endian PCM)
([#5789](https://github.com/google/ExoPlayer/issues/5789)).
* FMP4: Add support for encrypted AC-4 tracks.
* HLS: Fix slow seeking into long MP3 segments
([#6155](https://github.com/google/ExoPlayer/issues/6155)).
* Fix handling of E-AC-3 streams that contain AC-3 syncframes * Fix handling of E-AC-3 streams that contain AC-3 syncframes
([#6602](https://github.com/google/ExoPlayer/issues/6602)). ([#6602](https://github.com/google/ExoPlayer/issues/6602)).
* Fix playback of TrueHD streams in Matroska * Fix playback of TrueHD streams in Matroska
([#6845](https://github.com/google/ExoPlayer/issues/6845)). ([#6845](https://github.com/google/ExoPlayer/issues/6845)).
* Support "twos" codec (big endian PCM) in MP4
([#5789](https://github.com/google/ExoPlayer/issues/5789)).
* Show ad group markers in `DefaultTimeBar` even if they are after the end of
the current window
([#6552](https://github.com/google/ExoPlayer/issues/6552)).
* HLS: Fix slow seeking into long MP3 segments
([#6155](https://github.com/google/ExoPlayer/issues/6155)).
* WAV:
* Support IMA ADPCM encoded data.
* Improve support for G.711 A-law and mu-law encoded data.
* Fix MKV subtitles to disappear when intended instead of lasting until the * Fix MKV subtitles to disappear when intended instead of lasting until the
next cue ([#6833](https://github.com/google/ExoPlayer/issues/6833)). next cue ([#6833](https://github.com/google/ExoPlayer/issues/6833)).
* Parse \<ruby\> and \<rt\> tags in WebVTT subtitles (rendering is coming
later).
* Parse `text-combine-upright` CSS property (i.e. tate-chu-yoko) in WebVTT
subtitles (rendering is coming later).
* OkHttp extension: Upgrade OkHttp dependency to 3.12.7, which fixes a class of * OkHttp extension: Upgrade OkHttp dependency to 3.12.7, which fixes a class of
`SocketTimeoutException` issues when using HTTP/2 `SocketTimeoutException` issues when using HTTP/2
([#4078](https://github.com/google/ExoPlayer/issues/4078)). ([#4078](https://github.com/google/ExoPlayer/issues/4078)).
* Don't use notification chronometer if playback speed is != 1.0 * FLAC extension: Fix handling of bit depths other than 16 in `FLACDecoder`.
([#6816](https://github.com/google/ExoPlayer/issues/6816)).
* FLAC extension: Fix handling of bit depths other than 16 in `FlacDecoder`.
This issue caused FLAC streams with other bit depths to sound like white noise This issue caused FLAC streams with other bit depths to sound like white noise
on earlier releases, but only when embedded in a non-FLAC container such as on earlier releases, but only when embedded in a non-FLAC container such as
Matroska or MP4. Matroska or MP4.
* Javadocs: Add favicon for easier identification in browser tabs
* FMP4: Add support for encrypted AC-4 tracks.
* Startup latency optimizations:
* Reduce startup latency for DASH and SmoothStreaming playbacks by allowing
codec initialization to occur before the network connection for the first
media segment has been established.
* Reduce startup latency for on-demand DASH playbacks by allowing codec
initialization to occur before the sidx box has been loaded.
* Select multiple metadata tracks if multiple metadata renderers are available
([#6676](https://github.com/google/ExoPlayer/issues/6676)).
### 2.11.1 (2019-12-20) ### ### 2.11.1 (2019-12-20) ###

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.11.1' releaseVersion = '2.11.2'
releaseVersionCode = 2011001 releaseVersionCode = 2011002
minSdkVersion = 16 minSdkVersion = 16
appTargetSdkVersion = 29 appTargetSdkVersion = 29
targetSdkVersion = 28 // TODO: Bump once b/143232359 is resolved targetSdkVersion = 28 // TODO: Bump once b/143232359 is resolved

View File

@ -29,11 +29,11 @@ public final class ExoPlayerLibraryInfo {
/** 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.11.1"; public static final String VERSION = "2.11.2";
/** 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.11.1"; public static final String VERSION_SLASHY = "ExoPlayerLib/2.11.2";
/** /**
* The version of the library expressed as an integer, for example 1002003. * 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). * 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 = 2011001; public static final int VERSION_INT = 2011002;
/** /**
* 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}