SimulcastCodec
extends Message
in package
Generated from protobuf message <code>livekit.SimulcastCodec</code>
Table of Contents
Properties
- $cid : mixed
- Generated from protobuf field <code>string cid = 2;</code>
- $codec : mixed
- Generated from protobuf field <code>string codec = 1;</code>
- $video_layer_mode : mixed
- Generated from protobuf field <code>.livekit.VideoLayer.Mode video_layer_mode = 5;</code>
- $layers : mixed
- Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 4;</code>
Methods
- __construct() : mixed
- Constructor.
- getCid() : string
- Generated from protobuf field <code>string cid = 2;</code>
- getCodec() : string
- Generated from protobuf field <code>string codec = 1;</code>
- getLayers() : RepeatedField<string|int, VideoLayer>
- Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 4;</code>
- getVideoLayerMode() : int
- Generated from protobuf field <code>.livekit.VideoLayer.Mode video_layer_mode = 5;</code>
- setCid() : $this
- Generated from protobuf field <code>string cid = 2;</code>
- setCodec() : $this
- Generated from protobuf field <code>string codec = 1;</code>
- setLayers() : $this
- Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 4;</code>
- setVideoLayerMode() : $this
- Generated from protobuf field <code>.livekit.VideoLayer.Mode video_layer_mode = 5;</code>
Properties
$cid
Generated from protobuf field <code>string cid = 2;</code>
protected
mixed
$cid
= ''
$codec
Generated from protobuf field <code>string codec = 1;</code>
protected
mixed
$codec
= ''
$video_layer_mode
Generated from protobuf field <code>.livekit.VideoLayer.Mode video_layer_mode = 5;</code>
protected
mixed
$video_layer_mode
= 0
$layers
Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 4;</code>
private
mixed
$layers
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 string $cid @type \Livekit\VideoLayer[] $layers @type int $video_layer_mode}
getCid()
Generated from protobuf field <code>string cid = 2;</code>
public
getCid() : string
Return values
stringgetCodec()
Generated from protobuf field <code>string codec = 1;</code>
public
getCodec() : string
Return values
stringgetLayers()
Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 4;</code>
public
getLayers() : RepeatedField<string|int, VideoLayer>
Return values
RepeatedField<string|int, VideoLayer>getVideoLayerMode()
Generated from protobuf field <code>.livekit.VideoLayer.Mode video_layer_mode = 5;</code>
public
getVideoLayerMode() : int
Return values
intsetCid()
Generated from protobuf field <code>string cid = 2;</code>
public
setCid(string $var) : $this
Parameters
- $var : string
Return values
$thissetCodec()
Generated from protobuf field <code>string codec = 1;</code>
public
setCodec(string $var) : $this
Parameters
- $var : string
Return values
$thissetLayers()
Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 4;</code>
public
setLayers(array<string|int, VideoLayer> $var) : $this
Parameters
- $var : array<string|int, VideoLayer>
Return values
$thissetVideoLayerMode()
Generated from protobuf field <code>.livekit.VideoLayer.Mode video_layer_mode = 5;</code>
public
setVideoLayerMode(int $var) : $this
Parameters
- $var : int