Interface AudioStream.AudioMappingOrBuilder (0.38.0)

public static interface AudioStream.AudioMappingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGainDb()

public abstract double getGainDb()

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

double gain_db = 5;

Returns
TypeDescription
double

The gainDb.

getInputChannel()

public abstract int getInputChannel()

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

int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The inputChannel.

getInputKey()

public abstract String getInputKey()

Required. The Channel 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.

string input_key = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The inputKey.

getInputKeyBytes()

public abstract ByteString getInputKeyBytes()

Required. The Channel 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.

string input_key = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for inputKey.

getInputTrack()

public abstract int getInputTrack()

Required. The zero-based index of the track in the input stream. All mappings in the same AudioStream must have the same input track.

int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The inputTrack.

getOutputChannel()

public abstract int getOutputChannel()

Required. The zero-based index of the channel in the output audio stream. Must be consistent with the input_channel.

int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The outputChannel.