TextStream class
Encoding of a text stream. For example, closed captions or subtitles.
Constructors
-
TextStream({Input<
String> ? codec, Input<String> ? displayName, Input<String> ? languageCode, Input<List< ? mapping})TextMapping> > -
Creates a new TextStream.
codecThe codec for this text stream. The default iswebvtt. Supported text codecs: -srt-ttml-cea608-cea708-webvttdisplayNameThe name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.languageCodeThe BCP-47 language code, such asen-USorsr-Latn. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not supported in MP4 files.mappingThe mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.const -
TextStream.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
codec
→ Input<
String> ? -
The codec for this text stream. The default is
webvtt. Supported text codecs: -srt-ttml-cea608-cea708-webvttfinal -
displayName
→ Input<
String> ? -
The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
languageCode
→ Input<
String> ? -
The BCP-47 language code, such as
en-USorsr-Latn. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not supported in MP4 files.final -
mapping
→ Input<
List< ?TextMapping> > -
The mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited