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].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eTextStream\u003c/code\u003e class within the Google Cloud Video Transcoder v1 API, with the latest version being 2.9.0, and previous versions ranging from 2.8.0 to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextStream\u003c/code\u003e is used for encoding text streams like closed captions or subtitles, and it implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextStream\u003c/code\u003e class includes properties like \u003ccode\u003eCodec\u003c/code\u003e, which specifies the text codec (e.g., \u003ccode\u003esrt\u003c/code\u003e, \u003ccode\u003ewebvtt\u003c/code\u003e), \u003ccode\u003eDisplayName\u003c/code\u003e for the HLS/DASH manifest, \u003ccode\u003eLanguageCode\u003c/code\u003e for BCP-47 language codes, and \u003ccode\u003eMapping\u003c/code\u003e for text \u003ccode\u003eEditAtom.inputs\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe default codec for \u003ccode\u003eTextStream\u003c/code\u003e is \u003ccode\u003ewebvtt\u003c/code\u003e, but other supported text codecs include \u003ccode\u003esrt\u003c/code\u003e, \u003ccode\u003ettml\u003c/code\u003e, \u003ccode\u003ecea608\u003c/code\u003e, and \u003ccode\u003ecea708\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eTextStream\u003c/code\u003e object, the default empty one, and another that accepts another \u003ccode\u003eTextStream\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Transcoder v1 API - Class TextStream (2.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.TextStream)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.9.0/Google.Cloud.Video.Transcoder.V1.TextStream)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.8.0/Google.Cloud.Video.Transcoder.V1.TextStream)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.7.0/Google.Cloud.Video.Transcoder.V1.TextStream)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.6.0/Google.Cloud.Video.Transcoder.V1.TextStream)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.5.0/Google.Cloud.Video.Transcoder.V1.TextStream)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.4.0/Google.Cloud.Video.Transcoder.V1.TextStream)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.3.0/Google.Cloud.Video.Transcoder.V1.TextStream)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.2.0/Google.Cloud.Video.Transcoder.V1.TextStream)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.1.0/Google.Cloud.Video.Transcoder.V1.TextStream)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.0.0/Google.Cloud.Video.Transcoder.V1.TextStream)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/1.0.0/Google.Cloud.Video.Transcoder.V1.TextStream) \n\n public sealed class TextStream : IMessage\u003cTextStream\u003e, IEquatable\u003cTextStream\u003e, IDeepCloneable\u003cTextStream\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Transcoder v1 API class TextStream.\n\nEncoding of a text stream. For example, closed captions or subtitles. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TextStream \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TextStream](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.TextStream), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TextStream](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.TextStream), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TextStream](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.TextStream), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Video.Transcoder.V1](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Video.Transcoder.V1.dll\n\nConstructors\n------------\n\n### TextStream()\n\n public TextStream()\n\n### TextStream(TextStream)\n\n public TextStream(TextStream other)\n\nProperties\n----------\n\n### Codec\n\n public string Codec { get; set; }\n\nThe codec for this text stream. The default is `webvtt`.\n\nSupported text codecs:\n\n- `srt`\n- `ttml`\n- `cea608`\n- `cea708`\n- `webvtt`\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nThe name for this particular text stream that\nwill be added to the HLS/DASH manifest. Not supported in MP4 files.\n\n### LanguageCode\n\n public string LanguageCode { get; set; }\n\nThe BCP-47 language code, such as `en-US` or `sr-Latn`. For more\ninformation, see\n\u003chttps://www.unicode.org/reports/tr35/#Unicode_locale_identifier\u003e. Not\nsupported in MP4 files.\n\n### Mapping\n\n public RepeatedField\u003cTextStream.Types.TextMapping\u003e Mapping { get; }\n\nThe mapping for the\n\\[JobConfig.edit_list\\]\\[google.cloud.video.transcoder.v1.JobConfig.edit_list\\]\natoms with text\n\\[EditAtom.inputs\\]\\[google.cloud.video.transcoder.v1.EditAtom.inputs\\]."]]