mirror of
https://github.com/androidx/media.git
synced 2025-05-06 23:20:42 +08:00
Clean up release notes for 2.12: Text
PiperOrigin-RevId: 326218372
This commit is contained in:
parent
a7a364d567
commit
93ceb78d0e
@ -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.
|
||||||
|
* Improve positioning of vertical cues being rendered horizontally.
|
||||||
|
* Redefine `Cue.lineType=LINE_TYPE_NUMBER` in terms of aligning the cue
|
||||||
|
text lines to grid of viewport lines, and ignore `Cue.lineAnchor`.
|
||||||
|
* WebVTT
|
||||||
|
* Add support for default
|
||||||
[text](https://www.w3.org/TR/webvtt1/#default-text-color) and
|
[text](https://www.w3.org/TR/webvtt1/#default-text-color) and
|
||||||
[background](https://www.w3.org/TR/webvtt1/#default-text-background)
|
[background](https://www.w3.org/TR/webvtt1/#default-text-background)
|
||||||
colors ([PR #4178](https://github.com/google/ExoPlayer/pull/4178),
|
colors ([PR #4178](https://github.com/google/ExoPlayer/pull/4178),
|
||||||
[issue #6581](https://github.com/google/ExoPlayer/issues/6581)).
|
[issue #6581](https://github.com/google/ExoPlayer/issues/6581)).
|
||||||
* Parse `tts:ruby` and `tts:rubyPosition` properties in TTML subtitles
|
* Update position alignment parsing to recognise `line-left`, `center`
|
||||||
(rendering is coming later).
|
and `line-right`.
|
||||||
* 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
|
* Implement steps 4-10 of the
|
||||||
[WebVTT line computation algorithm](https://www.w3.org/TR/webvtt1/#cue-computed-line).
|
[WebVTT line computation algorithm](https://www.w3.org/TR/webvtt1/#cue-computed-line).
|
||||||
* Stop parsing unsupported WebVTT CSS properties. The spec provides an
|
* Stop parsing unsupported CSS properties. The spec provides an
|
||||||
[exhaustive list](https://www.w3.org/TR/webvtt1/#the-cue-pseudo-element)
|
[exhaustive list](https://www.w3.org/TR/webvtt1/#the-cue-pseudo-element)
|
||||||
of which are supported.
|
of which properties are supported.
|
||||||
* Ignore excess characters in CEA-608 lines (max length is 32)
|
* 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)).
|
([#7341](https://github.com/google/ExoPlayer/issues/7341)).
|
||||||
* Add support for WebVTT's `ruby-position` CSS property.
|
* Fix positioning of roll-up captions in the top half of the screen
|
||||||
* Fix positioning for CEA-608 roll-up captions in the top half of screen
|
|
||||||
([#7475](https://github.com/google/ExoPlayer/issues/7475)).
|
([#7475](https://github.com/google/ExoPlayer/issues/7475)).
|
||||||
* Redefine `Cue.lineType=LINE_TYPE_NUMBER` in terms of aligning the cue
|
* Stop automatically generating a CEA-608 track when playing
|
||||||
text lines to grid of viewport lines, and ignore `Cue.lineAnchor`.
|
standalone MPEG-TS files. The previous behavior can still be
|
||||||
* Check `CaptionManager.isEnabled()` before using it for user-specified
|
obtained by manually injecting a customized
|
||||||
font-scaling.
|
`DefaultTsPayloadReaderFactory` into `TsExtractor`.
|
||||||
* Recreate the decoder when handling & swallowing decode errors in
|
|
||||||
`TextRenderer`
|
|
||||||
([#7590](https://github.com/google/ExoPlayer/issues/7590)).
|
|
||||||
* Stop auto-generating a CEA-608 track when playing standalone Transport
|
|
||||||
Stream files. Users that require Closed Captions tracks being
|
|
||||||
auto-generated should manually inject a customized
|
|
||||||
`DefaultTsPayloadReaderFactory` into their `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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user