Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class Distribution.
Distribution configuration.
Generated from protobuf message google.cloud.video.livestream.v1.Distribution
Namespace
Google \ Cloud \ Video \ LiveStream \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ key
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.
↳ distribution_stream
string
Required. DistributionStream
key
s 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.
↳ state
int
Output only. State of the distribution.
↳ error
Google\Rpc\Status
Output only. Only present when the state
is ERROR
. The reason for the error state of the distribution.
↳ srt_push
↳ rtmp_push
getKey
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
setKey
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.
var
string
$this
getDistributionStream
Required. DistributionStream
key
s that should
appear in this distribution output.
- For SRT protocol, only
tsdistribution streams can be specified. - For RTMP protocol, only
flvdistribution streams can be specified.
string
setDistributionStream
Required. DistributionStream
key
s that should
appear in this distribution output.
- For SRT protocol, only
tsdistribution streams can be specified. - For RTMP protocol, only
flvdistribution streams can be specified.
var
string
$this
getState
Output only. State of the distribution.
setState
Output only. State of the distribution.
$this
getError
Output only. Only present when the state
is ERROR
. The reason for the
error state of the distribution.
hasError
clearError
setError
Output only. Only present when the state
is ERROR
. The reason for the
error state of the distribution.
$this
getSrtPush
Output endpoint using SRT_PUSH.
hasSrtPush
setSrtPush
Output endpoint using SRT_PUSH.
$this
getRtmpPush
Output endpoint using RTMP_PUSH.
hasRtmpPush
setRtmpPush
Output endpoint using RTMP_PUSH.
$this
getEndpoint
string

