class Google::Apis::TranscoderV1::TextStream
Encoding of a text stream. For example, closed captions or subtitles.
Attributes
codec[RW]
The codec for this text stream. The default is ‘webvtt`. Supported text codecs:
-
‘srt` - `ttml` - `cea608` - `cea708` - `webvtt`
Corresponds to the JSON property ‘codec` @return [String]
mapping[RW]
The mapping for the ‘Job.edit_list` atoms with text `EditAtom.inputs`. Corresponds to the JSON property `mapping` @return [Array<Google::Apis::TranscoderV1::TextMapping>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/transcoder_v1/classes.rb, line 1693 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/transcoder_v1/classes.rb, line 1698 def update!(**args) @codec = args[:codec] if args.key?(:codec) @mapping = args[:mapping] if args.key?(:mapping) end