public sealed class TextStream : IMessage<TextStream>, IEquatable<TextStream>, IDeepCloneable<TextStream>, IBufferMessage, IMessage
Encoding of a text stream. For example, closed captions or subtitles.
Implements
IMessage<TextStream>, IEquatable<TextStream>, IDeepCloneable<TextStream>, IBufferMessage, IMessageNamespace
Google.Cloud.Video.Transcoder.V1Beta1Assembly
Google.Cloud.Video.Transcoder.V1Beta1.dll
Constructors
TextStream()
public TextStream()
TextStream(TextStream)
public TextStream(TextStream other)
Parameter | |
---|---|
Name | Description |
other | TextStream |
Properties
Codec
public string Codec { get; set; }
The codec for this text stream. The default is "webvtt"
.
Supported text codecs:
- 'srt'
- 'ttml'
- 'cea608'
- 'cea708'
- 'webvtt'
Property Value | |
---|---|
Type | Description |
String |
LanguageCode
public string LanguageCode { get; set; }
Required. The BCP-47 language code, such as "en-US"
or "sr-Latn"
. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
Property Value | |
---|---|
Type | Description |
String |
Mapping
public RepeatedField<TextStream.Types.TextAtom> Mapping { get; }
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
Property Value | |
---|---|
Type | Description |
RepeatedField<TextStream.Types.TextAtom> |