TextStream(mapping=None, *, ignore_unknown_fields=False, **kwargs)Encoding of a text stream. For example, closed captions or subtitles.
Attributes |
|
|---|---|
| Name | Description |
codec |
str
Required. The codec for this text stream. Supported text codecs: - cea608
- cea708
- webvtt
|
language_code |
str
Optional. The BCP-47 language code, such as en-US or
sr-Latn. For more information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
display_name |
str
Optional. The name for this particular text stream that will be added to the HLS/DASH manifest. |
output_cea_channel |
str
Optional. The channel of the closed caption in the output stream. This field should only be set when textstream is used for partner distribution. Must be one of CC1,
CC2, CC3, and CC4, if the
codec
is cea608; Must be one between SERVICE1 and
SERVICE63, if the
codec
is cea708.
|
mapping_ |
MutableSequence[google.cloud.video.live_stream_v1.types.TextStream.TextMapping]
Optional. The mapping for the input streams and text tracks. |
Classes
TextMapping
TextMapping(mapping=None, *, ignore_unknown_fields=False, **kwargs)The mapping for the input streams and text tracks.