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
stringgetEnabled()
Generated from protobuf field <code>bool enabled = 2;</code>
public
getEnabled() : bool
Return values
boolsetCodec()
Generated from protobuf field <code>string codec = 1;</code>
public
setCodec(string $var) : $this
Parameters
- $var : string
Return values
$thissetEnabled()
Generated from protobuf field <code>bool enabled = 2;</code>
public
setEnabled(bool $var) : $this
Parameters
- $var : bool