Documentation

InputAudioState extends Message
in package

Generated from protobuf message <code>livekit.InputAudioState</code>

Table of Contents

Properties

$average_bitrate  : mixed
Generated from protobuf field <code>uint32 average_bitrate = 2;</code>
$channels  : mixed
Generated from protobuf field <code>uint32 channels = 3;</code>
$mime_type  : mixed
Generated from protobuf field <code>string mime_type = 1;</code>
$sample_rate  : mixed
Generated from protobuf field <code>uint32 sample_rate = 4;</code>

Methods

__construct()  : mixed
Constructor.
getAverageBitrate()  : int
Generated from protobuf field <code>uint32 average_bitrate = 2;</code>
getChannels()  : int
Generated from protobuf field <code>uint32 channels = 3;</code>
getMimeType()  : string
Generated from protobuf field <code>string mime_type = 1;</code>
getSampleRate()  : int
Generated from protobuf field <code>uint32 sample_rate = 4;</code>
setAverageBitrate()  : $this
Generated from protobuf field <code>uint32 average_bitrate = 2;</code>
setChannels()  : $this
Generated from protobuf field <code>uint32 channels = 3;</code>
setMimeType()  : $this
Generated from protobuf field <code>string mime_type = 1;</code>
setSampleRate()  : $this
Generated from protobuf field <code>uint32 sample_rate = 4;</code>

Properties

$average_bitrate

Generated from protobuf field <code>uint32 average_bitrate = 2;</code>

protected mixed $average_bitrate = 0

$channels

Generated from protobuf field <code>uint32 channels = 3;</code>

protected mixed $channels = 0

$mime_type

Generated from protobuf field <code>string mime_type = 1;</code>

protected mixed $mime_type = ''

$sample_rate

Generated from protobuf field <code>uint32 sample_rate = 4;</code>

protected mixed $sample_rate = 0

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

{ Optional. Data for populating the Message object.

@type string $mime_type
@type int $average_bitrate
@type int $channels
@type int $sample_rate

}

getAverageBitrate()

Generated from protobuf field <code>uint32 average_bitrate = 2;</code>

public getAverageBitrate() : int
Return values
int

getChannels()

Generated from protobuf field <code>uint32 channels = 3;</code>

public getChannels() : int
Return values
int

getMimeType()

Generated from protobuf field <code>string mime_type = 1;</code>

public getMimeType() : string
Return values
string

getSampleRate()

Generated from protobuf field <code>uint32 sample_rate = 4;</code>

public getSampleRate() : int
Return values
int

setAverageBitrate()

Generated from protobuf field <code>uint32 average_bitrate = 2;</code>

public setAverageBitrate(int $var) : $this
Parameters
$var : int
Return values
$this

setChannels()

Generated from protobuf field <code>uint32 channels = 3;</code>

public setChannels(int $var) : $this
Parameters
$var : int
Return values
$this

setMimeType()

Generated from protobuf field <code>string mime_type = 1;</code>

public setMimeType(string $var) : $this
Parameters
$var : string
Return values
$this

setSampleRate()

Generated from protobuf field <code>uint32 sample_rate = 4;</code>

public setSampleRate(int $var) : $this
Parameters
$var : int
Return values
$this

        
On this page

Search results