Live Stream v1 API - Class TextStream.Types.TextMapping (1.10.0)

public sealed class TextStream.Types.TextMapping : IMessage<TextStream.Types.TextMapping>, IEquatable<TextStream.Types.TextMapping>, IDeepCloneable<TextStream.Types.TextMapping>, IBufferMessage, IMessage

Reference documentation and code samples for the Live Stream v1 API class TextStream.Types.TextMapping.

The mapping for the input streams and text tracks.

Inheritance

object > TextStream.Types.TextMapping

Namespace

Google.Cloud.Video.LiveStream.V1

Assembly

Google.Cloud.Video.LiveStream.V1.dll

Constructors

TextMapping()

public TextMapping()

TextMapping(TextMapping)

public TextMapping(TextStream.Types.TextMapping other)
Parameter
Name Description
other TextStreamTypesTextMapping

Properties

FromLanguageCode

public string FromLanguageCode { get; set; }

Optional. The BCP-47 source language code, such as en-US or sr-Latn. If differ from the textStream's language code, enable translation. For more information on BCP-47 language codes, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

Property Value
Type Description
string

InputCeaChannel

public string InputCeaChannel { get; set; }

Optional. The channel of the closed caption in the input stream. If this field is set, the output [codec][google.cloud.video.livestream.v1.TextStream.codec] must be webvtt. Must be one of CC1, CC2, CC3, and CC4, if the codec of the input closed caption is cea608; Must be one between SERVICE1 and SERVICE64, if the codec of the input closed caption is cea708.

Property Value
Type Description
string

InputKey

public string InputKey { get; set; }

Optional. The Channel [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this text mapping applies to.

Property Value
Type Description
string

InputTrack

public int InputTrack { get; set; }

Optional. The zero-based index of the track in the input stream.

Property Value
Type Description
int