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

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

Distribution configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#distribution_stream

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

    Required. DistributionStream keys that should appear in this distribution output.

    • For SRT protocol, only ts distribution streams can be specified.
    • For RTMP protocol, only flv distribution streams can be specified.

#distribution_stream=

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

    Required. DistributionStream keys that should appear in this distribution output.

    • For SRT protocol, only ts distribution streams can be specified.
    • For RTMP protocol, only flv distribution streams can be specified.
Returns
  • (::String) —

    Required. DistributionStream keys that should appear in this distribution output.

    • For SRT protocol, only ts distribution streams can be specified.
    • For RTMP protocol, only flv distribution streams can be specified.

#error

def error() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — Output only. Only present when the state is ERROR. The reason for the error state of the distribution.

#key

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

#rtmp_push

def rtmp_push() -> ::Google::Cloud::Video::LiveStream::V1::RtmpPushOutputEndpoint
Returns

#rtmp_push=

def rtmp_push=(value) -> ::Google::Cloud::Video::LiveStream::V1::RtmpPushOutputEndpoint
Parameter
Returns

#srt_push

def srt_push() -> ::Google::Cloud::Video::LiveStream::V1::SrtPushOutputEndpoint
Returns

#srt_push=

def srt_push=(value) -> ::Google::Cloud::Video::LiveStream::V1::SrtPushOutputEndpoint
Parameter
Returns

#state

def state() -> ::Google::Cloud::Video::LiveStream::V1::Distribution::State
Returns