Clean up release notes for 2.12: Text

PiperOrigin-RevId: 326218372
This commit is contained in:
olly 2020-08-12 14:16:31 +01:00 committed by kim-vde
parent a7a364d567
commit 93ceb78d0e

View File

@ -2,6 +2,9 @@
### dev-v2 (not yet released) ### dev-v2 (not yet released)
### 2.12.0 (not yet released - targeted for 2020-08-TBD) ###
* Core library: * Core library:
* Implement getTag for SilenceMediaSource. * Implement getTag for SilenceMediaSource.
* Added `TextComponent.getCurrentCues` because the current cues are no * Added `TextComponent.getCurrentCues` because the current cues are no
@ -109,51 +112,47 @@
bitrate and frame rate bitrate and frame rate
([#4511](https://github.com/google/ExoPlayer/issues/4511)). ([#4511](https://github.com/google/ExoPlayer/issues/4511)).
* Text: * Text:
* Parse `<ruby>` and `<rt>` tags in WebVTT subtitles (rendering is coming * Recreate the decoder when handling and swallowing decode errors in
later). `TextRenderer`. This fixes a case where playback would never end when
* Parse `text-combine-upright` CSS property (i.e. tate-chu-yoko) in WebVTT playing content with malformed subtitles
subtitles (rendering is coming later). ([#7590](https://github.com/google/ExoPlayer/issues/790)).
* Parse `tts:combineText` property (i.e. tate-chu-yoko) in TTML subtitles * Only apply `CaptionManager` font scaling in
(rendering is coming later). `SubtitleView.setUserDefaultTextSize` if the `CaptionManager` is
* Add support for WebVTT default enabled.
[text](https://www.w3.org/TR/webvtt1/#default-text-color) and * Improve positioning of vertical cues being rendered horizontally.
[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)).
* Parse `tts:ruby` and `tts:rubyPosition` properties in TTML subtitles
(rendering is coming later).
* Update WebVTT position alignment parsing to recognise `line-left`,
`center` and `line-right` as per the
[released spec](https://www.w3.org/TR/webvtt1/#webvtt-position-cue-setting)
(a
[previous draft](https://www.w3.org/TR/2014/WD-webvtt1-20141111/#dfn-webvtt-text-position-cue-setting)
used `start`, `middle` and `end`).
* Implement timing-out of stuck CEA-608 captions (as permitted by
ANSI/CTA-608-E R-2014 Annex C.9) and set the default timeout to 16
seconds ([#7181](https://github.com/google/ExoPlayer/issues/7181)).
* Add special-case positioning behaviour for vertical cues being rendered
horizontally.
* Implement steps 4-10 of the
[WebVTT line computation algorithm](https://www.w3.org/TR/webvtt1/#cue-computed-line).
* Stop parsing unsupported WebVTT CSS properties. The spec provides an
[exhaustive list](https://www.w3.org/TR/webvtt1/#the-cue-pseudo-element)
of which are supported.
* Ignore excess characters in CEA-608 lines (max length is 32)
([#7341](https://github.com/google/ExoPlayer/issues/7341)).
* Add support for WebVTT's `ruby-position` CSS property.
* Fix positioning for CEA-608 roll-up captions in the top half of screen
([#7475](https://github.com/google/ExoPlayer/issues/7475)).
* Redefine `Cue.lineType=LINE_TYPE_NUMBER` in terms of aligning the cue * Redefine `Cue.lineType=LINE_TYPE_NUMBER` in terms of aligning the cue
text lines to grid of viewport lines, and ignore `Cue.lineAnchor`. text lines to grid of viewport lines, and ignore `Cue.lineAnchor`.
* Check `CaptionManager.isEnabled()` before using it for user-specified * WebVTT
font-scaling. * Add support for default
* Recreate the decoder when handling & swallowing decode errors in [text](https://www.w3.org/TR/webvtt1/#default-text-color) and
`TextRenderer` [background](https://www.w3.org/TR/webvtt1/#default-text-background)
([#7590](https://github.com/google/ExoPlayer/issues/7590)). colors ([PR #4178](https://github.com/google/ExoPlayer/pull/4178),
* Stop auto-generating a CEA-608 track when playing standalone Transport [issue #6581](https://github.com/google/ExoPlayer/issues/6581)).
Stream files. Users that require Closed Captions tracks being * Update position alignment parsing to recognise `line-left`, `center`
auto-generated should manually inject a customized and `line-right`.
`DefaultTsPayloadReaderFactory` into their `TsExtractor`. * Implement steps 4-10 of the
[WebVTT line computation algorithm](https://www.w3.org/TR/webvtt1/#cue-computed-line).
* Stop parsing unsupported CSS properties. The spec provides an
[exhaustive list](https://www.w3.org/TR/webvtt1/#the-cue-pseudo-element)
of which properties are supported.
* Add support for the `ruby-position` CSS property.
* Parse `text-combine-upright` CSS property (i.e., tate-chu-yoko).
* Parse `<ruby>` and `<rt>` tags.
* TTML
* Parse `tts:combineText` property (i.e., tate-chu-yoko).
* Parse `tts:ruby` and `tts:rubyPosition` properties.
* CEA-608
* Implement timing-out of stuck captions, as permitted by
ANSI/CTA-608-E R-2014 Annex C.9. The default timeout is set to 16
seconds ([#7181](https://github.com/google/ExoPlayer/issues/7181)).
* Trim lines that exceed the maximum length of 32 characters
([#7341](https://github.com/google/ExoPlayer/issues/7341)).
* Fix positioning of roll-up captions in the top half of the screen
([#7475](https://github.com/google/ExoPlayer/issues/7475)).
* Stop automatically generating a CEA-608 track when playing
standalone MPEG-TS files. The previous behavior can still be
obtained by manually injecting a customized
`DefaultTsPayloadReaderFactory` into `TsExtractor`.
* DRM: * DRM:
* Add support for attaching DRM sessions to clear content in the demo app. * Add support for attaching DRM sessions to clear content in the demo app.
* Remove `DrmSessionManager` references from all renderers. * Remove `DrmSessionManager` references from all renderers.