Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::DistributionStream (v2.4.0)

Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::DistributionStream.

Multiplexing settings for output streams used in Distribution.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#container

def container() -> ::String
Returns
  • (::String) —

    Required. The container format.

    Supported container formats:

    • ts, must contain exactly one audio stream and up to one video stream.
    • flv, must contain at most one audio stream and at most one video stream.

#container=

def container=(value) -> ::String
Parameter
  • value (::String) —

    Required. The container format.

    Supported container formats:

    • ts, must contain exactly one audio stream and up to one video stream.
    • flv, must contain at most one audio stream and at most one video stream.
Returns
  • (::String) —

    Required. The container format.

    Supported container formats:

    • ts, must contain exactly one audio stream and up to one video stream.
    • flv, must contain at most one audio stream and at most one video stream.

#elementary_streams

def elementary_streams() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. List of ElementaryStream {::Google::Cloud::Video::LiveStream::V1::ElementaryStream#key key}s multiplexed in this stream. Must contain at least one audio stream and up to one video stream.

#elementary_streams=

def elementary_streams=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. List of ElementaryStream {::Google::Cloud::Video::LiveStream::V1::ElementaryStream#key key}s multiplexed in this stream. Must contain at least one audio stream and up to one video stream.
Returns
  • (::Array<::String>) — Required. List of ElementaryStream {::Google::Cloud::Video::LiveStream::V1::ElementaryStream#key key}s multiplexed in this stream. Must contain at least one audio stream and up to one video stream.

#key

def key() -> ::String
Returns
  • (::String) — Required. A unique key for this distribution 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) — Required. A unique key for this distribution 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) — Required. A unique key for this distribution 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.