AudioMapping(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The mapping for the input streams and audio channels.
Attributes |
|
---|---|
Name | Description |
input_key |
str
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.
|
input_track |
int
Required. The zero-based index of the track in the input stream. All mappings in the same AudioStream must have the same input track. |
input_channel |
int
Required. The zero-based index of the channel in the input stream. |
output_channel |
int
Required. The zero-based index of the channel in the output audio stream. Must be consistent with the input_channel. |
gain_db |
float
Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0. |