class Google::Apis::TranscoderV1::ElementaryStream
Encoding of an input file such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats.
Attributes
audio_stream[RW]
Audio
stream resource. Corresponds to the JSON property ‘audioStream` @return [Google::Apis::TranscoderV1::AudioStream]
key[RW]
A unique key for this elementary stream. Corresponds to the JSON property ‘key` @return [String]
text_stream[RW]
Encoding of a text stream. For example, closed captions or subtitles. Corresponds to the JSON property ‘textStream` @return [Google::Apis::TranscoderV1::TextStream]
video_stream[RW]
Video stream resource. Corresponds to the JSON property ‘videoStream` @return [Google::Apis::TranscoderV1::VideoStream]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/transcoder_v1/classes.rb, line 508 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 513 def update!(**args) @audio_stream = args[:audio_stream] if args.key?(:audio_stream) @key = args[:key] if args.key?(:key) @text_stream = args[:text_stream] if args.key?(:text_stream) @video_stream = args[:video_stream] if args.key?(:video_stream) end