From ea51e6ee8e93f3540eccd8450a69f7c485d1dfa5 Mon Sep 17 00:00:00 2001 From: ibaker Date: Mon, 2 Mar 2020 10:23:44 +0000 Subject: [PATCH] Re-format the unreleased section of RELEASENOTES.md The auto-formatter wants it to look like this, and will reformat the whole list when an item is added, so let's put that diff in a standalone change. PiperOrigin-RevId: 298305479 --- RELEASENOTES.md | 170 +++++++++++++++++++++++++----------------------- 1 file changed, 87 insertions(+), 83 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 6a69965be2..4b0c2605a3 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -2,89 +2,93 @@ ### dev-v2 (not yet released) ### -* Core library: - * The `DefaultLoadControl` default minimum buffer is set to 50 seconds, - equal to the default maximum buffer. `DefaultLoadControl` applies the - same behavior for audio and video. - * Add API in `AnalyticsListener` to report video frame processing offset. - `MediaCodecVideoRenderer` reports the event. - * Add fields `videoFrameProcessingOffsetUsSum` and - `videoFrameProcessingOffsetUsCount` in `DecoderCounters` to compute - the average video frame processing offset. - * 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. - * Add `Player.onPlayWhenReadyChanged` with reasons. - * Add `Player.onPlaybackStateChanged` and deprecate - `Player.onPlayerStateChanged`. - * Deprecate and rename `getPlaybackError` to `getPlayerError` for consistency. - * Deprecate and rename `onLoadingChanged` to `onIsLoadingChanged` for - consistency. - * Make `MediaSourceEventListener.LoadEventInfo` and - `MediaSourceEventListener.MediaLoadData` top-level classes. - * Rename `MediaCodecRenderer.onOutputFormatChanged` to - `MediaCodecRenderer.onOutputMediaFormatChanged`, further - clarifying the distinction between `Format` and `MediaFormat`. - * Move player message-related constants from `C` to `Renderer`, to avoid - having the constants class depend on player/renderer classes. - * Split out `common` and `extractor` submodules. - * Allow to explicitly send `PlayerMessage`s at the end of a stream. - * Add `DataSpec.Builder` and deprecate most `DataSpec` constructors. - * Add `DataSpec.customData` to allow applications to pass custom data through - `DataSource` chains. - * Add a sample count parameter to `MediaCodecRenderer.processOutputBuffer` - and `AudioSink.handleBuffer` to allow batching multiple encoded frames - in one buffer. - * Add a `Format.Builder` and deprecate all `Format.create*` methods and most - `Format.copyWith*` methods. - * Split `Format.bitrate` into `Format.averageBitrate` and `Format.peakBitrate` - ([#2863](https://github.com/google/ExoPlayer/issues/2863)). - * Add optional automatic `WifiLock` handling to `SimpleExoPlayer` - ([#6914](https://github.com/google/ExoPlayer/issues/6914)). -* Text: - * Parse `` and `` 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). - * Parse `tts:combineText` property (i.e. tate-chu-yoko) in TTML subtitles - (rendering is coming later). - * Fix `SubtitlePainter` to render `EDGE_TYPE_OUTLINE` using the correct color - ([#6724](https://github.com/google/ExoPlayer/pull/6724)). - * Add support for WebVTT default - [text](https://www.w3.org/TR/webvtt1/#default-text-color) and - [background](https://www.w3.org/TR/webvtt1/#default-text-background) colors - ([PR #4178](https://github.com/google/ExoPlayer/pull/4178), - [issue #6581](https://github.com/google/ExoPlayer/issues/6581)). - * Catch-and-log all fatal exceptions in `TextRenderer` instead of re-throwing, - allowing playback to continue even if subtitles fail - ([#6885](https://github.com/google/ExoPlayer/issues/6885)). - * Parse `tts:ruby` and `tts:rubyPosition` properties in TTML subtitles - (rendering is coming later). -* DRM: - * Add support for attaching DRM sessions to clear content in the demo app. - * Remove `DrmSessionManager` references from all renderers. - `DrmSessionManager` must be injected into the MediaSources using the - MediaSources factories. -* Downloads: Merge downloads in `SegmentDownloader` to improve overall download - speed ([#5978](https://github.com/google/ExoPlayer/issues/5978)). -* MP3: Add `IndexSeeker` for accurate seeks in VBR streams - ([#6787](https://github.com/google/ExoPlayer/issues/6787)). - This seeker is enabled by passing `FLAG_ENABLE_INDEX_SEEKING` to the - `Mp3Extractor`. It may require to scan a significant portion of the file for - seeking, which may be costly on large files. -* 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. -* UI - * Move logic of prev, next, fast forward and rewind to ControlDispatcher - ([#6926](https://github.com/google/ExoPlayer/issues/6926)). -* Demo apps: Add - [GL demo app](https://github.com/google/ExoPlayer/tree/dev-v2/demos/gl) to - show how to render video to a `GLSurfaceView` while applying a GL shader. - ([#6920](https://github.com/google/ExoPlayer/issues/6920)). -* Metadata: Add minimal DVB Application Information Table (AIT) support +* Core library: + * The `DefaultLoadControl` default minimum buffer is set to 50 seconds, + equal to the default maximum buffer. `DefaultLoadControl` applies the + same behavior for audio and video. + * Add API in `AnalyticsListener` to report video frame processing offset. + `MediaCodecVideoRenderer` reports the event. + * Add fields `videoFrameProcessingOffsetUsSum` and + `videoFrameProcessingOffsetUsCount` in `DecoderCounters` to compute the + average video frame processing offset. + * 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. + * Add `Player.onPlayWhenReadyChanged` with reasons. + * Add `Player.onPlaybackStateChanged` and deprecate + `Player.onPlayerStateChanged`. + * Deprecate and rename `getPlaybackError` to `getPlayerError` for + consistency. + * Deprecate and rename `onLoadingChanged` to `onIsLoadingChanged` for + consistency. + * Make `MediaSourceEventListener.LoadEventInfo` and + `MediaSourceEventListener.MediaLoadData` top-level classes. + * Rename `MediaCodecRenderer.onOutputFormatChanged` to + `MediaCodecRenderer.onOutputMediaFormatChanged`, further clarifying the + distinction between `Format` and `MediaFormat`. + * Move player message-related constants from `C` to `Renderer`, to avoid + having the constants class depend on player/renderer classes. + * Split out `common` and `extractor` submodules. + * Allow to explicitly send `PlayerMessage`s at the end of a stream. + * Add `DataSpec.Builder` and deprecate most `DataSpec` constructors. + * Add `DataSpec.customData` to allow applications to pass custom data + through `DataSource` chains. + * Add a sample count parameter to `MediaCodecRenderer.processOutputBuffer` + and `AudioSink.handleBuffer` to allow batching multiple encoded frames + in one buffer. + * Add a `Format.Builder` and deprecate all `Format.create*` methods and + most `Format.copyWith*` methods. + * Split `Format.bitrate` into `Format.averageBitrate` and + `Format.peakBitrate` + ([#2863](https://github.com/google/ExoPlayer/issues/2863)). + * Add optional automatic `WifiLock` handling to `SimpleExoPlayer` + ([#6914](https://github.com/google/ExoPlayer/issues/6914)). +* Text: + * Parse `` and `` 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). + * Parse `tts:combineText` property (i.e. tate-chu-yoko) in TTML subtitles + (rendering is coming later). + * Fix `SubtitlePainter` to render `EDGE_TYPE_OUTLINE` using the correct + color ([#6724](https://github.com/google/ExoPlayer/pull/6724)). + * Add support for WebVTT default + [text](https://www.w3.org/TR/webvtt1/#default-text-color) and + [background](https://www.w3.org/TR/webvtt1/#default-text-background) + colors ([PR #4178](https://github.com/google/ExoPlayer/pull/4178), + [issue #6581](https://github.com/google/ExoPlayer/issues/6581)). + * Catch-and-log all fatal exceptions in `TextRenderer` instead of + re-throwing, allowing playback to continue even if subtitles fail + ([#6885](https://github.com/google/ExoPlayer/issues/6885)). + * Parse `tts:ruby` and `tts:rubyPosition` properties in TTML subtitles + (rendering is coming later). +* DRM: + * Add support for attaching DRM sessions to clear content in the demo app. + * Remove `DrmSessionManager` references from all renderers. + `DrmSessionManager` must be injected into the MediaSources using the + MediaSources factories. +* Downloads: Merge downloads in `SegmentDownloader` to improve overall + download speed ([#5978](https://github.com/google/ExoPlayer/issues/5978)). +* MP3: Add `IndexSeeker` for accurate seeks in VBR streams + ([#6787](https://github.com/google/ExoPlayer/issues/6787)). This seeker is + enabled by passing `FLAG_ENABLE_INDEX_SEEKING` to the `Mp3Extractor`. It may + require to scan a significant portion of the file for seeking, which may be + costly on large files. +* 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. +* UI + * Move logic of prev, next, fast forward and rewind to ControlDispatcher + ([#6926](https://github.com/google/ExoPlayer/issues/6926)). +* Demo apps: Add + [GL demo app](https://github.com/google/ExoPlayer/tree/dev-v2/demos/gl) to + show how to render video to a `GLSurfaceView` while applying a GL shader. + ([#6920](https://github.com/google/ExoPlayer/issues/6920)). +* Metadata: Add minimal DVB Application Information Table (AIT) support ([#6922](https://github.com/google/ExoPlayer/pull/6922)). ### 2.11.3 (2020-02-19) ###