Live Stream v1 API - Class Channel (1.0.0)

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

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

Channel resource represents the processor that does a user-defined "streaming" operation, which includes getting an input stream through an input, transcoding it to multiple renditions, and publishing output live streams in certain formats (for example, HLS or DASH) to the specified location.

Inheritance

Object > Channel

Namespace

Google.Cloud.Video.LiveStream.V1

Assembly

Google.Cloud.Video.LiveStream.V1.dll

Constructors

Channel()

public Channel()

Channel(Channel)

public Channel(Channel other)
Parameter
NameDescription
otherChannel

Properties

ActiveInput

public string ActiveInput { get; set; }

Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source.

Property Value
TypeDescription
String

ChannelName

public ChannelName ChannelName { get; set; }

ChannelName-typed view over the Name resource name property.

Property Value
TypeDescription
ChannelName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation time.

Property Value
TypeDescription
Timestamp

ElementaryStreams

public RepeatedField<ElementaryStream> ElementaryStreams { get; }

List of elementary streams.

Property Value
TypeDescription
RepeatedField<ElementaryStream>

InputAttachments

public RepeatedField<InputAttachment> InputAttachments { get; }

A list of input attachments that this channel uses. One channel can have multiple inputs as the input sources. Only one input can be selected as the input source at one time.

Property Value
TypeDescription
RepeatedField<InputAttachment>

Labels

public MapField<string, string> Labels { get; }

User-defined key/value metadata.

Property Value
TypeDescription
MapField<String, String>

LogConfig

public LogConfig LogConfig { get; set; }

Configuration of platform logs for this channel.

Property Value
TypeDescription
LogConfig

Manifests

public RepeatedField<Manifest> Manifests { get; }

List of output manifests.

Property Value
TypeDescription
RepeatedField<Manifest>

MuxStreams

public RepeatedField<MuxStream> MuxStreams { get; }

List of multiplexing settings for output streams.

Property Value
TypeDescription
RepeatedField<MuxStream>

Name

public string Name { get; set; }

The resource name of the channel, in the form of: projects/{project}/locations/{location}/channels/{channelId}.

Property Value
TypeDescription
String

Output

public Channel.Types.Output Output { get; set; }

Required. Information about the output (that is, the Cloud Storage bucket to store the generated live stream).

Property Value
TypeDescription
Channel.Types.Output

SpriteSheets

public RepeatedField<SpriteSheet> SpriteSheets { get; }

List of output sprite sheets.

Property Value
TypeDescription
RepeatedField<SpriteSheet>

StreamingError

public Status StreamingError { get; set; }

Output only. A description of the reason for the streaming error. This property is always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].

Property Value
TypeDescription
Status

StreamingState

public Channel.Types.StreamingState StreamingState { get; set; }

Output only. State of the streaming operation.

Property Value
TypeDescription
Channel.Types.StreamingState

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The update time.

Property Value
TypeDescription
Timestamp