public RepeatedField<string> ChannelLayout { get; }
A list of channel names specifying layout of the audio channels.
This only affects the metadata embedded in the container headers, if
supported by the specified format. The default is ["fl", "fr"].
public RepeatedField<AudioStream.Types.AudioMapping> Mapping { get; }
The mapping for the
[JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list]
atoms with audio
[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-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eAudioStream\u003c/code\u003e class is 2.9.0, with multiple earlier versions available for reference, ranging from 2.8.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAudioStream\u003c/code\u003e class is a resource within the Google Cloud Video Transcoder v1 API, representing audio stream configurations for video processing.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eAudioStream\u003c/code\u003e include \u003ccode\u003eBitrateBps\u003c/code\u003e, \u003ccode\u003eChannelCount\u003c/code\u003e, \u003ccode\u003eChannelLayout\u003c/code\u003e, \u003ccode\u003eCodec\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eLanguageCode\u003c/code\u003e, \u003ccode\u003eMapping\u003c/code\u003e, and \u003ccode\u003eSampleRateHertz\u003c/code\u003e for controlling audio encoding parameters.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, which provide functionalities for message handling, equality comparison, and object cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAudioStream\u003c/code\u003e class supports a variety of audio codecs, including \u003ccode\u003eaac\u003c/code\u003e, \u003ccode\u003eaac-he\u003c/code\u003e, \u003ccode\u003eaac-he-v2\u003c/code\u003e, \u003ccode\u003emp3\u003c/code\u003e, \u003ccode\u003eac3\u003c/code\u003e, and \u003ccode\u003eeac3\u003c/code\u003e, and allows custom channel layouts and language codes.\u003c/p\u003e\n"]]],[],null,["# Transcoder v1 API - Class AudioStream (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.AudioStream)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.9.0/Google.Cloud.Video.Transcoder.V1.AudioStream)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.8.0/Google.Cloud.Video.Transcoder.V1.AudioStream)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.7.0/Google.Cloud.Video.Transcoder.V1.AudioStream)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.6.0/Google.Cloud.Video.Transcoder.V1.AudioStream)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.5.0/Google.Cloud.Video.Transcoder.V1.AudioStream)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.4.0/Google.Cloud.Video.Transcoder.V1.AudioStream)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.3.0/Google.Cloud.Video.Transcoder.V1.AudioStream)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.2.0/Google.Cloud.Video.Transcoder.V1.AudioStream)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.1.0/Google.Cloud.Video.Transcoder.V1.AudioStream)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.0.0/Google.Cloud.Video.Transcoder.V1.AudioStream)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/1.0.0/Google.Cloud.Video.Transcoder.V1.AudioStream) \n\n public sealed class AudioStream : IMessage\u003cAudioStream\u003e, IEquatable\u003cAudioStream\u003e, IDeepCloneable\u003cAudioStream\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Transcoder v1 API class AudioStream.\n\nAudio stream resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AudioStream \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AudioStream](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.AudioStream), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AudioStream](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.AudioStream), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AudioStream](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.AudioStream), [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### AudioStream()\n\n public AudioStream()\n\n### AudioStream(AudioStream)\n\n public AudioStream(AudioStream other)\n\nProperties\n----------\n\n### BitrateBps\n\n public int BitrateBps { get; set; }\n\nRequired. Audio bitrate in bits per second. Must be between 1 and\n10,000,000.\n\n### ChannelCount\n\n public int ChannelCount { get; set; }\n\nNumber of audio channels. Must be between 1 and 6. The default is 2.\n\n### ChannelLayout\n\n public RepeatedField\u003cstring\u003e ChannelLayout { get; }\n\nA list of channel names specifying layout of the audio channels.\nThis only affects the metadata embedded in the container headers, if\nsupported by the specified format. The default is `[\"fl\", \"fr\"]`.\n\nSupported channel names:\n\n- `fl` - Front left channel\n- `fr` - Front right channel\n- `sl` - Side left channel\n- `sr` - Side right channel\n- `fc` - Front center channel\n- `lfe` - Low frequency\n\n### Codec\n\n public string Codec { get; set; }\n\nThe codec for this audio stream. The default is `aac`.\n\nSupported audio codecs:\n\n- `aac`\n- `aac-he`\n- `aac-he-v2`\n- `mp3`\n- `ac3`\n- `eac3`\n- `vorbis`\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nThe name for this particular audio 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\u003cAudioStream.Types.AudioMapping\u003e Mapping { get; }\n\nThe mapping for the\n\\[JobConfig.edit_list\\]\\[google.cloud.video.transcoder.v1.JobConfig.edit_list\\]\natoms with audio\n\\[EditAtom.inputs\\]\\[google.cloud.video.transcoder.v1.EditAtom.inputs\\].\n\n### SampleRateHertz\n\n public int SampleRateHertz { get; set; }\n\nThe audio sample rate in Hertz. The default is 48000 Hertz."]]