Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::ElementaryStream.
Encoding of an input element such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#audio_stream
def audio_stream() -> ::Google::Cloud::Video::LiveStream::V1::AudioStream
Returns
- (::Google::Cloud::Video::LiveStream::V1::AudioStream) — Encoding of an audio stream.
#audio_stream=
def audio_stream=(value) -> ::Google::Cloud::Video::LiveStream::V1::AudioStream
Parameter
- value (::Google::Cloud::Video::LiveStream::V1::AudioStream) — Encoding of an audio stream.
Returns
- (::Google::Cloud::Video::LiveStream::V1::AudioStream) — Encoding of an audio stream.
#key
def key() -> ::String
Returns
- (::String) — A unique key for this elementary stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
#key=
def key=(value) -> ::String
Parameter
- value (::String) — A unique key for this elementary stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
Returns
- (::String) — A unique key for this elementary stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
#text_stream
def text_stream() -> ::Google::Cloud::Video::LiveStream::V1::TextStream
Returns
- (::Google::Cloud::Video::LiveStream::V1::TextStream) — Encoding of a text stream. For example, closed captions or subtitles.
#text_stream=
def text_stream=(value) -> ::Google::Cloud::Video::LiveStream::V1::TextStream
Parameter
- value (::Google::Cloud::Video::LiveStream::V1::TextStream) — Encoding of a text stream. For example, closed captions or subtitles.
Returns
- (::Google::Cloud::Video::LiveStream::V1::TextStream) — Encoding of a text stream. For example, closed captions or subtitles.
#video_stream
def video_stream() -> ::Google::Cloud::Video::LiveStream::V1::VideoStream
Returns
- (::Google::Cloud::Video::LiveStream::V1::VideoStream) — Encoding of a video stream.
#video_stream=
def video_stream=(value) -> ::Google::Cloud::Video::LiveStream::V1::VideoStream
Parameter
- value (::Google::Cloud::Video::LiveStream::V1::VideoStream) — Encoding of a video stream.
Returns
- (::Google::Cloud::Video::LiveStream::V1::VideoStream) — Encoding of a video stream.