SIPCodec
extends Message
in package
Generated from protobuf message <code>livekit.SIPCodec</code>
Table of Contents
Properties
- $name : mixed
- Generated from protobuf field <code>string name = 1;</code>
- $rate : mixed
- Generated from protobuf field <code>uint32 rate = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- getName() : string
- Generated from protobuf field <code>string name = 1;</code>
- getRate() : int
- Generated from protobuf field <code>uint32 rate = 2;</code>
- setName() : $this
- Generated from protobuf field <code>string name = 1;</code>
- setRate() : $this
- Generated from protobuf field <code>uint32 rate = 2;</code>
Properties
$name
Generated from protobuf field <code>string name = 1;</code>
protected
mixed
$name
= ''
$rate
Generated from protobuf field <code>uint32 rate = 2;</code>
protected
mixed
$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 $name @type int $rate}
getName()
Generated from protobuf field <code>string name = 1;</code>
public
getName() : string
Return values
stringgetRate()
Generated from protobuf field <code>uint32 rate = 2;</code>
public
getRate() : int
Return values
intsetName()
Generated from protobuf field <code>string name = 1;</code>
public
setName(string $var) : $this
Parameters
- $var : string
Return values
$thissetRate()
Generated from protobuf field <code>uint32 rate = 2;</code>
public
setRate(int $var) : $this
Parameters
- $var : int