Documentation

UpdateVideoLayers extends Message
in package

message to indicate published video track dimensions are changing

Generated from protobuf message livekit.UpdateVideoLayers

Table of Contents

Properties

$track_sid  : mixed
Generated from protobuf field <code>string track_sid = 1;</code>
$layers  : mixed
Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 2;</code>

Methods

__construct()  : mixed
Constructor.
getLayers()  : RepeatedField<string|int, VideoLayer>
Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 2;</code>
getTrackSid()  : string
Generated from protobuf field <code>string track_sid = 1;</code>
setLayers()  : $this
Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 2;</code>
setTrackSid()  : $this
Generated from protobuf field <code>string track_sid = 1;</code>

Properties

$track_sid

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

protected mixed $track_sid = ''

$layers

Generated from protobuf field <code>repeated .livekit.VideoLayer layers = 2;</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 $track_sid
@type \Livekit\VideoLayer[] $layers

}

getLayers()

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

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

getTrackSid()

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

public getTrackSid() : string
Return values
string

setLayers()

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

public setLayers(array<string|int, VideoLayer$var) : $this
Parameters
$var : array<string|int, VideoLayer>
Return values
$this

setTrackSid()

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

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

        
On this page

Search results