2.12.0 (latest) 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

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

Reference documentation and code samples for the Transcoder v1 API class TextStream.

Encoding of a text stream. For example, closed captions or subtitles.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TextStream

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[TextStream](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.TextStream.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TextStream](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.TextStream.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[TextStream](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.TextStream.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Video.Transcoder.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.md.txt)

## Assembly

Google.Cloud.Video.Transcoder.V1.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` |   |

### DisplayName

    public string DisplayName { get; set; }

The name for this particular text stream that
will be added to the HLS/DASH manifest. Not supported in MP4 files.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### LanguageCode

    public string LanguageCode { get; set; }

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>. Not
supported in MP4 files.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Mapping

    public RepeatedField<TextStream.Types.TextMapping> Mapping { get; }

The mapping for the
\[JobConfig.edit_list\]\[google.cloud.video.transcoder.v1.JobConfig.edit_list\]
atoms with text
\[EditAtom.inputs\]\[google.cloud.video.transcoder.v1.EditAtom.inputs\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldTextStreamTypesTextMapping` |   |