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
-
(::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.
- For SRT protocol, only
#distribution_stream=
def distribution_stream=(value) -> ::String
-
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.
- For SRT protocol, only
-
(::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.
- For SRT protocol, only
#error
def error() -> ::Google::Rpc::Status
-
(::Google::Rpc::Status) — Output only. Only present when the
state
isERROR
. The reason for the error state of the distribution.
#key
def key() -> ::String
- (::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
- 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.
- (::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
-
(::Google::Cloud::Video::LiveStream::V1::RtmpPushOutputEndpoint) — Output endpoint using RTMP_PUSH.
Note: The following fields are mutually exclusive:
rtmp_push
,srt_push
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#rtmp_push=
def rtmp_push=(value) -> ::Google::Cloud::Video::LiveStream::V1::RtmpPushOutputEndpoint
-
value (::Google::Cloud::Video::LiveStream::V1::RtmpPushOutputEndpoint) — Output endpoint using RTMP_PUSH.
Note: The following fields are mutually exclusive:
rtmp_push
,srt_push
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Video::LiveStream::V1::RtmpPushOutputEndpoint) — Output endpoint using RTMP_PUSH.
Note: The following fields are mutually exclusive:
rtmp_push
,srt_push
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#srt_push
def srt_push() -> ::Google::Cloud::Video::LiveStream::V1::SrtPushOutputEndpoint
-
(::Google::Cloud::Video::LiveStream::V1::SrtPushOutputEndpoint) — Output endpoint using SRT_PUSH.
Note: The following fields are mutually exclusive:
srt_push
,rtmp_push
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#srt_push=
def srt_push=(value) -> ::Google::Cloud::Video::LiveStream::V1::SrtPushOutputEndpoint
-
value (::Google::Cloud::Video::LiveStream::V1::SrtPushOutputEndpoint) — Output endpoint using SRT_PUSH.
Note: The following fields are mutually exclusive:
srt_push
,rtmp_push
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Video::LiveStream::V1::SrtPushOutputEndpoint) — Output endpoint using SRT_PUSH.
Note: The following fields are mutually exclusive:
srt_push
,rtmp_push
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#state
def state() -> ::Google::Cloud::Video::LiveStream::V1::Distribution::State
- (::Google::Cloud::Video::LiveStream::V1::Distribution::State) — Output only. State of the distribution.