Live Stream v1 API - Class Channel (1.3.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
RepeatedFieldElementaryStream

Encryptions

public RepeatedField<Encryption> Encryptions { get; }

Encryption configurations for this channel. Each configuration has an ID which is referred to by each MuxStream to indicate which configuration is used for that output.

Property Value
TypeDescription
RepeatedFieldEncryption

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
RepeatedFieldInputAttachment

InputConfig

public InputConfig InputConfig { get; set; }

The configuration for input sources defined in [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments].

Property Value
TypeDescription
InputConfig

Labels

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

User-defined key/value metadata.

Property Value
TypeDescription
MapFieldstringstring

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
RepeatedFieldManifest

MuxStreams

public RepeatedField<MuxStream> MuxStreams { get; }

List of multiplexing settings for output streams.

Property Value
TypeDescription
RepeatedFieldMuxStream

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
ChannelTypesOutput

SpriteSheets

public RepeatedField<SpriteSheet> SpriteSheets { get; }

List of output sprite sheets.

Property Value
TypeDescription
RepeatedFieldSpriteSheet

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
ChannelTypesStreamingState

TimecodeConfig

public TimecodeConfig TimecodeConfig { get; set; }

Configuration of timecode for this channel.

Property Value
TypeDescription
TimecodeConfig

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The update time.

Property Value
TypeDescription
Timestamp