Documentation

SimulcastCodecInfo extends Message
in package

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

Table of Contents

Properties

$cid  : mixed
Generated from protobuf field <code>string cid = 3;</code>
$mid  : mixed
Generated from protobuf field <code>string mid = 2;</code>
$mime_type  : mixed
Generated from protobuf field <code>string mime_type = 1;</code>
$sdp_cid  : mixed
cid (client side id for track) could be different between signalling (AddTrackRequest) and SDP offer. This field will be populated only if it is different to avoid duplication and keep the representation concise.
$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 = 3;</code>
getLayers()  : RepeatedField<string|int, VideoLayer>
Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 4;</code>
getMid()  : string
Generated from protobuf field <code>string mid = 2;</code>
getMimeType()  : string
Generated from protobuf field <code>string mime_type = 1;</code>
getSdpCid()  : string
cid (client side id for track) could be different between signalling (AddTrackRequest) and SDP offer. This field will be populated only if it is different to avoid duplication and keep the representation concise.
getVideoLayerMode()  : int
Generated from protobuf field <code>.livekit.VideoLayer.Mode video_layer_mode = 5;</code>
setCid()  : $this
Generated from protobuf field <code>string cid = 3;</code>
setLayers()  : $this
Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 4;</code>
setMid()  : $this
Generated from protobuf field <code>string mid = 2;</code>
setMimeType()  : $this
Generated from protobuf field <code>string mime_type = 1;</code>
setSdpCid()  : $this
cid (client side id for track) could be different between signalling (AddTrackRequest) and SDP offer. This field will be populated only if it is different to avoid duplication and keep the representation concise.
setVideoLayerMode()  : $this
Generated from protobuf field <code>.livekit.VideoLayer.Mode video_layer_mode = 5;</code>

Properties

$cid

Generated from protobuf field <code>string cid = 3;</code>

protected mixed $cid = ''

$mid

Generated from protobuf field <code>string mid = 2;</code>

protected mixed $mid = ''

$mime_type

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

protected mixed $mime_type = ''

$sdp_cid

cid (client side id for track) could be different between signalling (AddTrackRequest) and SDP offer. This field will be populated only if it is different to avoid duplication and keep the representation concise.

protected mixed $sdp_cid = ''

Generated from protobuf field string sdp_cid = 6;

$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 $mime_type
@type string $mid
@type string $cid
@type \Livekit\VideoLayer[] $layers
@type int $video_layer_mode
@type string $sdp_cid
      cid (client side id for track) could be different between
      signalling (AddTrackRequest) and SDP offer. This field
      will be populated only if it is different to avoid
      duplication and keep the representation concise.

}

getCid()

Generated from protobuf field <code>string cid = 3;</code>

public getCid() : string
Return values
string

getLayers()

Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 4;</code>

public getLayers() : RepeatedField<string|int, VideoLayer>
Return values
RepeatedField<string|int, VideoLayer>

getMid()

Generated from protobuf field <code>string mid = 2;</code>

public getMid() : string
Return values
string

getMimeType()

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

public getMimeType() : string
Return values
string

getSdpCid()

cid (client side id for track) could be different between signalling (AddTrackRequest) and SDP offer. This field will be populated only if it is different to avoid duplication and keep the representation concise.

public getSdpCid() : string

Generated from protobuf field string sdp_cid = 6;

Return values
string

getVideoLayerMode()

Generated from protobuf field <code>.livekit.VideoLayer.Mode video_layer_mode = 5;</code>

public getVideoLayerMode() : int
Return values
int

setCid()

Generated from protobuf field <code>string cid = 3;</code>

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

setLayers()

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

setMid()

Generated from protobuf field <code>string mid = 2;</code>

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

setMimeType()

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

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

setSdpCid()

cid (client side id for track) could be different between signalling (AddTrackRequest) and SDP offer. This field will be populated only if it is different to avoid duplication and keep the representation concise.

public setSdpCid(string $var) : $this

Generated from protobuf field string sdp_cid = 6;

Parameters
$var : string
Return values
$this

setVideoLayerMode()

Generated from protobuf field <code>.livekit.VideoLayer.Mode video_layer_mode = 5;</code>

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

        
On this page

Search results