TextStreamResponse constructor

const TextStreamResponse({
  1. required Input<String> codec,
  2. required Input<String> displayName,
  3. required Input<String> languageCode,
  4. 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.

Implementation

const TextStreamResponse({
  required this.codec,
  required this.displayName,
  required this.languageCode,
  required this.mapping,
});