TextStreamResponse class

Encoding of a text stream. For example, closed captions or subtitles.

Constructors

TextStreamResponse({required Input<String> codec, required Input<String> displayName, required Input<String> languageCode, required Input<List<TextMappingResponse>> mapping})
Creates a new TextStreamResponse. codec The codec for this text stream. The default is webvtt. Supported text codecs: - srt - ttml - cea608 - cea708 - webvtt displayName The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files. languageCode 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. Not supported in MP4 files. mapping The mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.
const
TextStreamResponse.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 - webvtt
final
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-US or sr-Latn. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not supported in MP4 files.
final
mapping → Input<List<TextMappingResponse>>
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