IngressAudioEncodingOptions
extends Message
in package
Generated from protobuf message <code>livekit.IngressAudioEncodingOptions</code>
Table of Contents
Properties
- $audio_codec : mixed
- desired audio codec to publish to room
- $bitrate : mixed
- Generated from protobuf field <code>uint32 bitrate = 2;</code>
- $channels : mixed
- Generated from protobuf field <code>uint32 channels = 4;</code>
- $disable_dtx : mixed
- Generated from protobuf field <code>bool disable_dtx = 3;</code>
Methods
- __construct() : mixed
- Constructor.
- getAudioCodec() : int
- desired audio codec to publish to room
- getBitrate() : int
- Generated from protobuf field <code>uint32 bitrate = 2;</code>
- getChannels() : int
- Generated from protobuf field <code>uint32 channels = 4;</code>
- getDisableDtx() : bool
- Generated from protobuf field <code>bool disable_dtx = 3;</code>
- setAudioCodec() : $this
- desired audio codec to publish to room
- setBitrate() : $this
- Generated from protobuf field <code>uint32 bitrate = 2;</code>
- setChannels() : $this
- Generated from protobuf field <code>uint32 channels = 4;</code>
- setDisableDtx() : $this
- Generated from protobuf field <code>bool disable_dtx = 3;</code>
Properties
$audio_codec
desired audio codec to publish to room
protected
mixed
$audio_codec
= 0
Generated from protobuf field .livekit.AudioCodec audio_codec = 1;
$bitrate
Generated from protobuf field <code>uint32 bitrate = 2;</code>
protected
mixed
$bitrate
= 0
$channels
Generated from protobuf field <code>uint32 channels = 4;</code>
protected
mixed
$channels
= 0
$disable_dtx
Generated from protobuf field <code>bool disable_dtx = 3;</code>
protected
mixed
$disable_dtx
= false
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 int $audio_codec desired audio codec to publish to room @type int $bitrate @type bool $disable_dtx @type int $channels}
getAudioCodec()
desired audio codec to publish to room
public
getAudioCodec() : int
Generated from protobuf field .livekit.AudioCodec audio_codec = 1;
Return values
intgetBitrate()
Generated from protobuf field <code>uint32 bitrate = 2;</code>
public
getBitrate() : int
Return values
intgetChannels()
Generated from protobuf field <code>uint32 channels = 4;</code>
public
getChannels() : int
Return values
intgetDisableDtx()
Generated from protobuf field <code>bool disable_dtx = 3;</code>
public
getDisableDtx() : bool
Return values
boolsetAudioCodec()
desired audio codec to publish to room
public
setAudioCodec(int $var) : $this
Generated from protobuf field .livekit.AudioCodec audio_codec = 1;
Parameters
- $var : int
Return values
$thissetBitrate()
Generated from protobuf field <code>uint32 bitrate = 2;</code>
public
setBitrate(int $var) : $this
Parameters
- $var : int
Return values
$thissetChannels()
Generated from protobuf field <code>uint32 channels = 4;</code>
public
setChannels(int $var) : $this
Parameters
- $var : int
Return values
$thissetDisableDtx()
Generated from protobuf field <code>bool disable_dtx = 3;</code>
public
setDisableDtx(bool $var) : $this
Parameters
- $var : bool