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;
$options
protected
mixed
$options
$output
protected
mixed
$output
$room_name
required
protected
mixed
$room_name
= ''
Generated from protobuf field string room_name = 1;
$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}
getAdvanced()
(optional)
public
getAdvanced() : EncodingOptions|null
Generated from protobuf field .livekit.EncodingOptions advanced = 7;
Return values
EncodingOptions|nullgetAudioTrackId()
(optional)
public
getAudioTrackId() : string
Generated from protobuf field string audio_track_id = 2;
Return values
stringgetFile()
Generated from protobuf field <code>.livekit.EncodedFileOutput file = 4 [deprecated = true];</code>
public
getFile() : EncodedFileOutput|null
Return values
EncodedFileOutput|nullgetFileOutputs()
Generated from protobuf field <code>repeated .livekit.EncodedFileOutput file_outputs = 11;</code>
public
getFileOutputs() : RepeatedField<string|int, EncodedFileOutput>
Return values
RepeatedField<string|int, EncodedFileOutput>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>getOptions()
public
getOptions() : string
Return values
stringgetOutput()
public
getOutput() : string
Return values
stringgetPreset()
(default H264_720P_30)
public
getPreset() : int
Generated from protobuf field .livekit.EncodingOptionsPreset preset = 6;
Return values
intgetRoomName()
required
public
getRoomName() : string
Generated from protobuf field string room_name = 1;
Return values
stringgetSegmentOutputs()
Generated from protobuf field <code>repeated .livekit.SegmentedFileOutput segment_outputs = 13;</code>
public
getSegmentOutputs() : RepeatedField<string|int, SegmentedFileOutput>
Return values
RepeatedField<string|int, SegmentedFileOutput>getSegments()
Generated from protobuf field <code>.livekit.SegmentedFileOutput segments = 8 [deprecated = true];</code>
public
getSegments() : SegmentedFileOutput|null
Return values
SegmentedFileOutput|nullgetStream()
Generated from protobuf field <code>.livekit.StreamOutput stream = 5 [deprecated = true];</code>
public
getStream() : StreamOutput|null
Return values
StreamOutput|nullgetStreamOutputs()
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
stringgetWebhooks()
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>hasAdvanced()
public
hasAdvanced() : mixed
hasFile()
public
hasFile() : mixed
hasPreset()
public
hasPreset() : mixed
hasSegments()
public
hasSegments() : mixed
hasStream()
public
hasStream() : mixed
setAdvanced()
(optional)
public
setAdvanced(EncodingOptions $var) : $this
Generated from protobuf field .livekit.EncodingOptions advanced = 7;
Parameters
- $var : EncodingOptions
Return values
$thissetAudioTrackId()
(optional)
public
setAudioTrackId(string $var) : $this
Generated from protobuf field string audio_track_id = 2;
Parameters
- $var : string
Return values
$thissetFile()
Generated from protobuf field <code>.livekit.EncodedFileOutput file = 4 [deprecated = true];</code>
public
setFile(EncodedFileOutput $var) : $this
Parameters
- $var : EncodedFileOutput
Return values
$thissetFileOutputs()
Generated from protobuf field <code>repeated .livekit.EncodedFileOutput file_outputs = 11;</code>
public
setFileOutputs(array<string|int, EncodedFileOutput> $var) : $this
Parameters
- $var : array<string|int, EncodedFileOutput>
Return values
$thissetImageOutputs()
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
$thissetPreset()
(default H264_720P_30)
public
setPreset(int $var) : $this
Generated from protobuf field .livekit.EncodingOptionsPreset preset = 6;
Parameters
- $var : int
Return values
$thissetRoomName()
required
public
setRoomName(string $var) : $this
Generated from protobuf field string room_name = 1;
Parameters
- $var : string
Return values
$thissetSegmentOutputs()
Generated from protobuf field <code>repeated .livekit.SegmentedFileOutput segment_outputs = 13;</code>
public
setSegmentOutputs(array<string|int, SegmentedFileOutput> $var) : $this
Parameters
- $var : array<string|int, SegmentedFileOutput>
Return values
$thissetSegments()
Generated from protobuf field <code>.livekit.SegmentedFileOutput segments = 8 [deprecated = true];</code>
public
setSegments(SegmentedFileOutput $var) : $this
Parameters
- $var : SegmentedFileOutput
Return values
$thissetStream()
Generated from protobuf field <code>.livekit.StreamOutput stream = 5 [deprecated = true];</code>
public
setStream(StreamOutput $var) : $this
Parameters
- $var : StreamOutput
Return values
$thissetStreamOutputs()
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
$thissetVideoTrackId()
(optional)
public
setVideoTrackId(string $var) : $this
Generated from protobuf field string video_track_id = 3;
Parameters
- $var : string
Return values
$thissetWebhooks()
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>