Live Stream v1 API - Class AudioStream.Types.AudioMapping (1.8.0)

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.

Inheritance

object > AudioStream.Types.AudioMapping

Namespace

Google.Cloud.Video.LiveStream.V1

Assembly

Google.Cloud.Video.LiveStream.V1.dll

Constructors

AudioMapping()

public AudioMapping()

AudioMapping(AudioMapping)

public AudioMapping(AudioStream.Types.AudioMapping other)
Parameter
Name Description
other AudioStreamTypesAudioMapping

Properties

GainDb

public double GainDb { get; set; }

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

Property Value
Type Description
double

InputChannel

public int InputChannel { get; set; }

Required. The zero-based index of the channel in the input stream.

Property Value
Type Description
int

InputKey

public string InputKey { get; set; }

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.

Property Value
Type Description
string

InputTrack

public int InputTrack { get; set; }

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.

Property Value
Type Description
int

OutputChannel

public int OutputChannel { get; set; }

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].

Property Value
Type Description
int