Live Stream v1 API - Class Distribution (1.10.0)

public sealed class Distribution : IMessage<Distribution>, IEquatable<Distribution>, IDeepCloneable<Distribution>, IBufferMessage, IMessage

Reference documentation and code samples for the Live Stream v1 API class Distribution.

Distribution configuration.

Inheritance

object > Distribution

Namespace

Google.Cloud.Video.LiveStream.V1

Assembly

Google.Cloud.Video.LiveStream.V1.dll

Constructors

Distribution()

public Distribution()

Distribution(Distribution)

public Distribution(Distribution other)
Parameter
Name Description
other Distribution

Properties

DistributionStream

public string DistributionStream { get; set; }

Required. DistributionStream [key][google.cloud.video.livestream.v1.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.
Property Value
Type Description
string

EndpointCase

public Distribution.EndpointOneofCase EndpointCase { get; }
Property Value
Type Description
DistributionEndpointOneofCase

Error

public Status Error { get; set; }

Output only. Only present when the state is ERROR. The reason for the error state of the distribution.

Property Value
Type Description
Status

Key

public string Key { get; set; }

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.

Property Value
Type Description
string

RtmpPush

public RtmpPushOutputEndpoint RtmpPush { get; set; }

Output endpoint using RTMP_PUSH.

Property Value
Type Description
RtmpPushOutputEndpoint

SrtPush

public SrtPushOutputEndpoint SrtPush { get; set; }

Output endpoint using SRT_PUSH.

Property Value
Type Description
SrtPushOutputEndpoint

State

public Distribution.Types.State State { get; set; }

Output only. State of the distribution.

Property Value
Type Description
DistributionTypesState