Google Cloud Video Live Stream V1 Client - Class AudioStreamProperty (0.3.2)

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

Properties of the audio stream.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ index int

Index of this audio stream.

↳ audio_format Google\Cloud\Video\LiveStream\V1\AudioFormat

Properties of the audio format.

getIndex

Index of this audio stream.

Returns
TypeDescription
int

setIndex

Index of this audio stream.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getAudioFormat

Properties of the audio format.

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\AudioFormat|null

hasAudioFormat

clearAudioFormat

setAudioFormat

Properties of the audio format.

Parameter
NameDescription
var Google\Cloud\Video\LiveStream\V1\AudioFormat
Returns
TypeDescription
$this