Commit 59505570 by ibaker Committed by kim-vde

Add a release note about WebView-based subtitle output

Also re-word some existing subtitle notes

PiperOrigin-RevId: 326989276
parent f0ae8afd
Showing with 14 additions and 9 deletions
...@@ -133,6 +133,10 @@ ...@@ -133,6 +133,10 @@
of application-level audio speed adjustment of application-level audio speed adjustment
([#7502](https://github.com/google/ExoPlayer/issues/7502)). ([#7502](https://github.com/google/ExoPlayer/issues/7502)).
* Text: * Text:
* Add a WebView-based output option to `SubtitleView`. This can display
some features not supported by the existing Canvas-based output such as
vertical text and rubies. It can be enabled by calling
`SubtitleView#setViewType(VIEW_TYPE_WEB)`.
* Recreate the decoder when handling and swallowing decode errors in * Recreate the decoder when handling and swallowing decode errors in
`TextRenderer`. This fixes a case where playback would never end when `TextRenderer`. This fixes a case where playback would never end when
playing content with malformed subtitles playing content with malformed subtitles
...@@ -140,9 +144,10 @@ ...@@ -140,9 +144,10 @@
* Only apply `CaptionManager` font scaling in * Only apply `CaptionManager` font scaling in
`SubtitleView.setUserDefaultTextSize` if the `CaptionManager` is `SubtitleView.setUserDefaultTextSize` if the `CaptionManager` is
enabled. enabled.
* Improve positioning of vertical cues being rendered horizontally. * Improve positioning of vertical cues when rendered horizontally.
* 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. Only consider `Cue.lineAnchor`
when `Cue.lineType=LINE_TYPE_FRACTION`.
* WebVTT * WebVTT
* Add support for default * 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
...@@ -156,12 +161,12 @@ ...@@ -156,12 +161,12 @@
* Stop parsing unsupported 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 properties are supported. of which properties are supported.
* Add support for the `ruby-position` CSS property. * Parse the `ruby-position` CSS property.
* Parse `text-combine-upright` CSS property (i.e., tate-chu-yoko). * Parse the `text-combine-upright` CSS property (i.e., tate-chu-yoko).
* Parse `<ruby>` and `<rt>` tags. * Parse the `<ruby>` and `<rt>` tags.
* TTML * TTML
* Parse `tts:combineText` property (i.e., tate-chu-yoko). * Parse the `tts:combineText` property (i.e., tate-chu-yoko).
* Parse `tts:ruby` and `tts:rubyPosition` properties. * Parse t`tts:ruby` and `tts:rubyPosition` properties.
* CEA-608 * CEA-608
* Implement timing-out of stuck captions, as permitted by * 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 ANSI/CTA-608-E R-2014 Annex C.9. The default timeout is set to 16
...@@ -191,8 +196,8 @@ ...@@ -191,8 +196,8 @@
* Respect 33-bit PTS wrapping when applying `X-TIMESTAMP-MAP` to WebVTT * Respect 33-bit PTS wrapping when applying `X-TIMESTAMP-MAP` to WebVTT
timestamps ([#7464](https://github.com/google/ExoPlayer/issues/7464)). timestamps ([#7464](https://github.com/google/ExoPlayer/issues/7464)).
* Extractors: * Extractors:
* Optimize the `Extractor` sniffing order to reduce start-up latency * Optimize the `Extractor` sniffing order to reduce start-up latency in
in `DefaultExtractorsFactory` and `DefaultHlsExtractorsFactory` `DefaultExtractorsFactory` and `DefaultHlsExtractorsFactory`
([#6410](https://github.com/google/ExoPlayer/issues/6410)). ([#6410](https://github.com/google/ExoPlayer/issues/6410)).
* Use filename extensions and response header MIME types to further * Use filename extensions and response header MIME types to further
optimize `Extractor` sniffing order on a per-media basis. optimize `Extractor` sniffing order on a per-media basis.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment