GoogleApi.Transcoder.V1beta1.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'
  • languageCode (type: String.t, default: nil) - Required. 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.
  • mapping (type: list(GoogleApi.Transcoder.V1beta1.Model.TextAtom.t), default: nil) - The mapping for the Job.edit_list atoms with text EditAtom.inputs.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.