public sealed class AudioStream.Types.AudioMapping : IMessage<AudioStream.Types.AudioMapping>, IEquatable<AudioStream.Types.AudioMapping>, IDeepCloneable<AudioStream.Types.AudioMapping>, IBufferMessage, IMessage
Reference documentation and code samples for the Live Stream v1 API class AudioStream.Types.AudioMapping.
The mapping for the input streams and audio channels.
Required. The Channel
[InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]
that identifies the input that this audio mapping applies to. If an
active input doesn't have an audio mapping, the primary audio track in
the input stream will be selected.
Required. The zero-based index of the track in the input stream.
All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in
the same [AudioStream][google.cloud.video.livestream.v1.AudioStream] must
have the same input track.
Required. The zero-based index of the channel in the output audio stream.
Must be consistent with the
[input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
[[["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 information for the \u003ccode\u003eAudioStream.Types.AudioMapping\u003c/code\u003e class within the Google Cloud Live Stream v1 API, including documentation for versions 1.0.0 through 1.8.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAudioStream.Types.AudioMapping\u003c/code\u003e class maps input streams and audio channels, inheriting from the \u003ccode\u003eobject\u003c/code\u003e class and implementing interfaces like \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 class offers properties such as \u003ccode\u003eGainDb\u003c/code\u003e, \u003ccode\u003eInputChannel\u003c/code\u003e, \u003ccode\u003eInputKey\u003c/code\u003e, \u003ccode\u003eInputTrack\u003c/code\u003e, and \u003ccode\u003eOutputChannel\u003c/code\u003e to configure audio mappings, including volume control and channel assignments.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAudioStream.Types.AudioMapping\u003c/code\u003e includes constructors for creating new instances, either empty or as a copy of an existing \u003ccode\u003eAudioMapping\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInputKey\u003c/code\u003e property is crucial for identifying the specific input that an audio mapping applies to, where the primary audio track will be selected if no mapping is specified.\u003c/p\u003e\n"]]],[],null,[]]