Documentation

TrackCompositeEgressRequest extends Message
in package

containerize up to one audio and one video track

Generated from protobuf message livekit.TrackCompositeEgressRequest

Table of Contents

Properties

$audio_track_id  : mixed
(optional)
$options  : mixed
$output  : mixed
$room_name  : mixed
required
$video_track_id  : mixed
(optional)
$file_outputs  : mixed
Generated from protobuf field <code>repeated .livekit.EncodedFileOutput file_outputs = 11;</code>
$image_outputs  : mixed
Generated from protobuf field <code>repeated .livekit.ImageOutput image_outputs = 14;</code>
$segment_outputs  : mixed
Generated from protobuf field <code>repeated .livekit.SegmentedFileOutput segment_outputs = 13;</code>
$stream_outputs  : mixed
Generated from protobuf field <code>repeated .livekit.StreamOutput stream_outputs = 12;</code>
$webhooks  : mixed
extra webhooks to call for this request

Methods

__construct()  : mixed
Constructor.
getAdvanced()  : EncodingOptions|null
(optional)
getAudioTrackId()  : string
(optional)
getFile()  : EncodedFileOutput|null
Generated from protobuf field <code>.livekit.EncodedFileOutput file = 4 [deprecated = true];</code>
getFileOutputs()  : RepeatedField<string|int, EncodedFileOutput>
Generated from protobuf field <code>repeated .livekit.EncodedFileOutput file_outputs = 11;</code>
getImageOutputs()  : RepeatedField<string|int, ImageOutput>
Generated from protobuf field <code>repeated .livekit.ImageOutput image_outputs = 14;</code>
getOptions()  : string
getOutput()  : string
getPreset()  : int
(default H264_720P_30)
getRoomName()  : string
required
getSegmentOutputs()  : RepeatedField<string|int, SegmentedFileOutput>
Generated from protobuf field <code>repeated .livekit.SegmentedFileOutput segment_outputs = 13;</code>
getSegments()  : SegmentedFileOutput|null
Generated from protobuf field <code>.livekit.SegmentedFileOutput segments = 8 [deprecated = true];</code>
getStream()  : StreamOutput|null
Generated from protobuf field <code>.livekit.StreamOutput stream = 5 [deprecated = true];</code>
getStreamOutputs()  : RepeatedField<string|int, StreamOutput>
Generated from protobuf field <code>repeated .livekit.StreamOutput stream_outputs = 12;</code>
getVideoTrackId()  : string
(optional)
getWebhooks()  : RepeatedField<string|int, WebhookConfig>
extra webhooks to call for this request
hasAdvanced()  : mixed
hasFile()  : mixed
hasPreset()  : mixed
hasSegments()  : mixed
hasStream()  : mixed
setAdvanced()  : $this
(optional)
setAudioTrackId()  : $this
(optional)
setFile()  : $this
Generated from protobuf field <code>.livekit.EncodedFileOutput file = 4 [deprecated = true];</code>
setFileOutputs()  : $this
Generated from protobuf field <code>repeated .livekit.EncodedFileOutput file_outputs = 11;</code>
setImageOutputs()  : $this
Generated from protobuf field <code>repeated .livekit.ImageOutput image_outputs = 14;</code>
setPreset()  : $this
(default H264_720P_30)
setRoomName()  : $this
required
setSegmentOutputs()  : $this
Generated from protobuf field <code>repeated .livekit.SegmentedFileOutput segment_outputs = 13;</code>
setSegments()  : $this
Generated from protobuf field <code>.livekit.SegmentedFileOutput segments = 8 [deprecated = true];</code>
setStream()  : $this
Generated from protobuf field <code>.livekit.StreamOutput stream = 5 [deprecated = true];</code>
setStreamOutputs()  : $this
Generated from protobuf field <code>repeated .livekit.StreamOutput stream_outputs = 12;</code>
setVideoTrackId()  : $this
(optional)
setWebhooks()  : $this
extra webhooks to call for this request

Properties

$audio_track_id

(optional)

protected mixed $audio_track_id = ''

Generated from protobuf field string audio_track_id = 2;

$video_track_id

(optional)

protected mixed $video_track_id = ''

Generated from protobuf field string video_track_id = 3;

$file_outputs

Generated from protobuf field <code>repeated .livekit.EncodedFileOutput file_outputs = 11;</code>

private mixed $file_outputs

$image_outputs

Generated from protobuf field <code>repeated .livekit.ImageOutput image_outputs = 14;</code>

private mixed $image_outputs

$segment_outputs

Generated from protobuf field <code>repeated .livekit.SegmentedFileOutput segment_outputs = 13;</code>

private mixed $segment_outputs

$stream_outputs

Generated from protobuf field <code>repeated .livekit.StreamOutput stream_outputs = 12;</code>

private mixed $stream_outputs

$webhooks

extra webhooks to call for this request

private mixed $webhooks

Generated from protobuf field repeated .livekit.WebhookConfig webhooks = 15;

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 $room_name
      required
@type string $audio_track_id
      (optional)
@type string $video_track_id
      (optional)
@type \Livekit\EncodedFileOutput $file
@type \Livekit\StreamOutput $stream
@type \Livekit\SegmentedFileOutput $segments
@type int $preset
      (default H264_720P_30)
@type \Livekit\EncodingOptions $advanced
      (optional)
@type \Livekit\EncodedFileOutput[] $file_outputs
@type \Livekit\StreamOutput[] $stream_outputs
@type \Livekit\SegmentedFileOutput[] $segment_outputs
@type \Livekit\ImageOutput[] $image_outputs
@type \Livekit\WebhookConfig[] $webhooks
      extra webhooks to call for this request

}

getAudioTrackId()

(optional)

public getAudioTrackId() : string

Generated from protobuf field string audio_track_id = 2;

Return values
string

getImageOutputs()

Generated from protobuf field <code>repeated .livekit.ImageOutput image_outputs = 14;</code>

public getImageOutputs() : RepeatedField<string|int, ImageOutput>
Return values
RepeatedField<string|int, ImageOutput>

getPreset()

(default H264_720P_30)

public getPreset() : int

Generated from protobuf field .livekit.EncodingOptionsPreset preset = 6;

Return values
int

getRoomName()

required

public getRoomName() : string

Generated from protobuf field string room_name = 1;

Return values
string

getStreamOutputs()

Generated from protobuf field <code>repeated .livekit.StreamOutput stream_outputs = 12;</code>

public getStreamOutputs() : RepeatedField<string|int, StreamOutput>
Return values
RepeatedField<string|int, StreamOutput>

getVideoTrackId()

(optional)

public getVideoTrackId() : string

Generated from protobuf field string video_track_id = 3;

Return values
string

getWebhooks()

extra webhooks to call for this request

public getWebhooks() : RepeatedField<string|int, WebhookConfig>

Generated from protobuf field repeated .livekit.WebhookConfig webhooks = 15;

Return values
RepeatedField<string|int, WebhookConfig>

setAudioTrackId()

(optional)

public setAudioTrackId(string $var) : $this

Generated from protobuf field string audio_track_id = 2;

Parameters
$var : string
Return values
$this

setImageOutputs()

Generated from protobuf field <code>repeated .livekit.ImageOutput image_outputs = 14;</code>

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

setPreset()

(default H264_720P_30)

public setPreset(int $var) : $this

Generated from protobuf field .livekit.EncodingOptionsPreset preset = 6;

Parameters
$var : int
Return values
$this

setRoomName()

required

public setRoomName(string $var) : $this

Generated from protobuf field string room_name = 1;

Parameters
$var : string
Return values
$this

setStreamOutputs()

Generated from protobuf field <code>repeated .livekit.StreamOutput stream_outputs = 12;</code>

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

setVideoTrackId()

(optional)

public setVideoTrackId(string $var) : $this

Generated from protobuf field string video_track_id = 3;

Parameters
$var : string
Return values
$this

setWebhooks()

extra webhooks to call for this request

public setWebhooks(array<string|int, WebhookConfig$var) : $this

Generated from protobuf field repeated .livekit.WebhookConfig webhooks = 15;

Parameters
$var : array<string|int, WebhookConfig>
Return values
$this

        
On this page

Search results