TextStream constructor

const TextStream({
  1. Input<String>? codec,
  2. Input<String>? displayName,
  3. Input<String>? languageCode,
  4. Input<List<TextMapping>>? mapping,
})

Creates a new TextStream. 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 TextStream({
  this.codec,
  this.displayName,
  this.languageCode,
  this.mapping,
});