Documentation

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;

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
int

getBitrate()

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

public getBitrate() : int
Return values
int

getChannels()

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

public getChannels() : int
Return values
int

getDisableDtx()

Generated from protobuf field <code>bool disable_dtx = 3;</code>

public getDisableDtx() : bool
Return values
bool

setAudioCodec()

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
$this

setBitrate()

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

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

setChannels()

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

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

setDisableDtx()

Generated from protobuf field <code>bool disable_dtx = 3;</code>

public setDisableDtx(bool $var) : $this
Parameters
$var : bool
Return values
$this

        
On this page

Search results