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].
Specifies whether pass through (transmuxing) is enabled or not.
If set to true, the rest of the settings, other than mapping, will be
ignored. The default is false.
[[["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 webpage provides reference documentation for the \u003ccode\u003eAudioStream\u003c/code\u003e class within the Google Cloud Live Stream v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAudioStream\u003c/code\u003e class, which is part of the \u003ccode\u003eGoogle.Cloud.Video.LiveStream.V1\u003c/code\u003e namespace, is used to manage audio stream resources.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details on the latest version (1.8.0) as well as older versions of the \u003ccode\u003eAudioStream\u003c/code\u003e class, ranging from version 1.0.0 to 1.7.0, all in the API reference documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAudioStream\u003c/code\u003e class has properties like \u003ccode\u003eBitrateBps\u003c/code\u003e, \u003ccode\u003eChannelCount\u003c/code\u003e, \u003ccode\u003eChannelLayout\u003c/code\u003e, \u003ccode\u003eCodec\u003c/code\u003e, \u003ccode\u003eMapping\u003c/code\u003e, \u003ccode\u003eSampleRateHertz\u003c/code\u003e, and \u003ccode\u003eTransmux\u003c/code\u003e to control various audio stream settings, with default values provided for some.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAudioStream\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Live Stream v1 API - Class AudioStream (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.AudioStream)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.8.0/Google.Cloud.Video.LiveStream.V1.AudioStream)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.7.0/Google.Cloud.Video.LiveStream.V1.AudioStream)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.6.0/Google.Cloud.Video.LiveStream.V1.AudioStream)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.5.0/Google.Cloud.Video.LiveStream.V1.AudioStream)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.4.0/Google.Cloud.Video.LiveStream.V1.AudioStream)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.3.0/Google.Cloud.Video.LiveStream.V1.AudioStream)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.2.0/Google.Cloud.Video.LiveStream.V1.AudioStream)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.1.0/Google.Cloud.Video.LiveStream.V1.AudioStream)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.0.0/Google.Cloud.Video.LiveStream.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 Live Stream 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.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.AudioStream), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AudioStream](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.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.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.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.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### 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\n### Mapping\n\n public RepeatedField\u003cAudioStream.Types.AudioMapping\u003e Mapping { get; }\n\nThe mapping for the input streams and audio channels.\n\n### SampleRateHertz\n\n public int SampleRateHertz { get; set; }\n\nThe audio sample rate in Hertz. The default is 48000 Hertz.\n\n### Transmux\n\n public bool Transmux { get; set; }\n\nSpecifies whether pass through (transmuxing) is enabled or not.\nIf set to `true`, the rest of the settings, other than `mapping`, will be\nignored. The default is `false`."]]