Google Cloud Video Live Stream V1 Client - Class AudioFormat (0.7.5)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class AudioFormat.

Properties of the audio format.

Generated from protobuf message google.cloud.video.livestream.v1.AudioFormat

Namespace

Google \ Cloud \ Video \ LiveStream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ codec string

Audio codec used in this audio stream.

↳ channel_count int

The number of audio channels.

↳ channel_layout array

A list of channel names specifying the layout of the audio channels.

getCodec

Audio codec used in this audio stream.

Returns
Type Description
string

setCodec

Audio codec used in this audio stream.

Parameter
Name Description
var string
Returns
Type Description
$this

getChannelCount

The number of audio channels.

Returns
Type Description
int

setChannelCount

The number of audio channels.

Parameter
Name Description
var int
Returns
Type Description
$this

getChannelLayout

A list of channel names specifying the layout of the audio channels.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setChannelLayout

A list of channel names specifying the layout of the audio channels.

Parameter
Name Description
var string[]
Returns
Type Description
$this