Google Cloud Video Transcoder V1 Client - Class AudioMapping (0.10.5)

Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class AudioMapping.

The mapping for the Job.edit_list atoms with audio EditAtom.inputs.

Generated from protobuf message google.cloud.video.transcoder.v1.AudioStream.AudioMapping

Namespace

Google \ Cloud \ Video \ Transcoder \ V1 \ AudioStream

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ atom_key string

Required. The EditAtom.key that references the atom with audio inputs in the Job.edit_list.

↳ input_key string

Required. The Input.key that identifies the input file.

↳ input_track int

Required. The zero-based index of the track in the input file.

↳ input_channel int

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

↳ output_channel int

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

↳ gain_db float

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

getAtomKey

Required. The EditAtom.key that references the atom with audio inputs in the Job.edit_list.

Returns
Type Description
string

setAtomKey

Required. The EditAtom.key that references the atom with audio inputs in the Job.edit_list.

Parameter
Name Description
var string
Returns
Type Description
$this

getInputKey

Required. The Input.key that identifies the input file.

Returns
Type Description
string

setInputKey

Required. The Input.key that identifies the input file.

Parameter
Name Description
var string
Returns
Type Description
$this

getInputTrack

Required. The zero-based index of the track in the input file.

Returns
Type Description
int

setInputTrack

Required. The zero-based index of the track in the input file.

Parameter
Name Description
var int
Returns
Type Description
$this

getInputChannel

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

Returns
Type Description
int

setInputChannel

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

Parameter
Name Description
var int
Returns
Type Description
$this

getOutputChannel

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

Returns
Type Description
int

setOutputChannel

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

Parameter
Name Description
var int
Returns
Type Description
$this

getGainDb

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

Returns
Type Description
float

setGainDb

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

Parameter
Name Description
var float
Returns
Type Description
$this