public sealed class ElementaryStream : IMessage<ElementaryStream>, IEquatable<ElementaryStream>, IDeepCloneable<ElementaryStream>, IBufferMessage, IMessage
Reference documentation and code samples for the Live Stream v1 API class ElementaryStream.
Encoding of an input element such as an audio, video, or text track.
Elementary streams must be packaged before mapping and sharing between
different output formats.
A unique key for this elementary stream. The key must be 1-63
characters in length. The key must begin and end with a letter (regardless
of case) or a number, but can contain dashes or underscores in between.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eElementaryStream\u003c/code\u003e class within the Google Cloud Live Stream v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eElementaryStream\u003c/code\u003e represents the encoding of an input element, which can be an audio, video, or text track that needs to be packaged before sharing across different output formats.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eElementaryStream\u003c/code\u003e class has properties such as \u003ccode\u003eAudioStream\u003c/code\u003e, \u003ccode\u003eVideoStream\u003c/code\u003e, and \u003ccode\u003eTextStream\u003c/code\u003e to manage the encoding of audio, video, and text, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eElementaryStream\u003c/code\u003e is 1.8.0, with previous versions ranging from 1.0.0 to 1.7.0 also being available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKey\u003c/code\u003e property is a unique identifier for each elementary stream, with specific requirements for its formatting.\u003c/p\u003e\n"]]],[],null,["# Live Stream v1 API - Class ElementaryStream (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ElementaryStream)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.8.0/Google.Cloud.Video.LiveStream.V1.ElementaryStream)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.7.0/Google.Cloud.Video.LiveStream.V1.ElementaryStream)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.6.0/Google.Cloud.Video.LiveStream.V1.ElementaryStream)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.5.0/Google.Cloud.Video.LiveStream.V1.ElementaryStream)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.4.0/Google.Cloud.Video.LiveStream.V1.ElementaryStream)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.3.0/Google.Cloud.Video.LiveStream.V1.ElementaryStream)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.2.0/Google.Cloud.Video.LiveStream.V1.ElementaryStream)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.1.0/Google.Cloud.Video.LiveStream.V1.ElementaryStream)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.0.0/Google.Cloud.Video.LiveStream.V1.ElementaryStream) \n\n public sealed class ElementaryStream : IMessage\u003cElementaryStream\u003e, IEquatable\u003cElementaryStream\u003e, IDeepCloneable\u003cElementaryStream\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Live Stream v1 API class ElementaryStream.\n\nEncoding of an input element such as an audio, video, or text track.\nElementary streams must be packaged before mapping and sharing between\ndifferent output formats. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ElementaryStream \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ElementaryStream](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ElementaryStream), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ElementaryStream](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ElementaryStream), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ElementaryStream](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ElementaryStream), [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.LiveStream.V1](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Video.LiveStream.V1.dll\n\nConstructors\n------------\n\n### ElementaryStream()\n\n public ElementaryStream()\n\n### ElementaryStream(ElementaryStream)\n\n public ElementaryStream(ElementaryStream other)\n\nProperties\n----------\n\n### AudioStream\n\n public AudioStream AudioStream { get; set; }\n\nEncoding of an audio stream.\n\n### ElementaryStreamCase\n\n public ElementaryStream.ElementaryStreamOneofCase ElementaryStreamCase { get; }\n\n### Key\n\n public string Key { get; set; }\n\nA unique key for this elementary stream. The key must be 1-63\ncharacters in length. The key must begin and end with a letter (regardless\nof case) or a number, but can contain dashes or underscores in between.\n\n### TextStream\n\n public TextStream TextStream { get; set; }\n\nEncoding of a text stream. For example, closed captions or subtitles.\n\n### VideoStream\n\n public VideoStream VideoStream { get; set; }\n\nEncoding of a video stream."]]