Documentation

SubscribedAudioCodec extends Message
in package

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

Table of Contents

Properties

$codec  : mixed
Generated from protobuf field <code>string codec = 1;</code>
$enabled  : mixed
Generated from protobuf field <code>bool enabled = 2;</code>

Methods

__construct()  : mixed
Constructor.
getCodec()  : string
Generated from protobuf field <code>string codec = 1;</code>
getEnabled()  : bool
Generated from protobuf field <code>bool enabled = 2;</code>
setCodec()  : $this
Generated from protobuf field <code>string codec = 1;</code>
setEnabled()  : $this
Generated from protobuf field <code>bool enabled = 2;</code>

Properties

$codec

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

protected mixed $codec = ''

$enabled

Generated from protobuf field <code>bool enabled = 2;</code>

protected mixed $enabled = 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 string $codec
@type bool $enabled

}

getCodec()

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

public getCodec() : string
Return values
string

getEnabled()

Generated from protobuf field <code>bool enabled = 2;</code>

public getEnabled() : bool
Return values
bool

setCodec()

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

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

setEnabled()

Generated from protobuf field <code>bool enabled = 2;</code>

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

        
On this page

Search results