GoogleApi.Transcoder.V1.Model.TextStream (google_api_transcoder v0.4.2)

View Source

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

Attributes

  • codec (type: String.t, default: nil) - The codec for this text stream. The default is webvtt. Supported text codecs: - srt - ttml - cea608 - cea708 - webvtt
  • displayName (type: String.t, default: nil) - The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.
  • languageCode (type: String.t, default: nil) - 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 (type: list(GoogleApi.Transcoder.V1.Model.TextMapping.t), default: nil) - The mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Transcoder.V1.Model.TextStream{
  codec: String.t() | nil,
  displayName: String.t() | nil,
  languageCode: String.t() | nil,
  mapping: [GoogleApi.Transcoder.V1.Model.TextMapping.t()] | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.