StartEgressRequest
extends Message
in package
Generated from protobuf message <code>livekit.StartEgressRequest</code>
Table of Contents
Properties
- $encoding : mixed
- $room_name : mixed
- Generated from protobuf field <code>string room_name = 1;</code>
- $source : mixed
- $storage : mixed
- Request-level storage default
- $outputs : mixed
- At least one required
- $webhooks : mixed
- Optional additional webhook config
Methods
- __construct() : mixed
- Constructor.
- clearStorage() : mixed
- getAdvanced() : EncodingOptions|null
- Generated from protobuf field <code>.livekit.EncodingOptions advanced = 6;</code>
- getEncoding() : string
- getMedia() : MediaSource|null
- Generated from protobuf field <code>.livekit.MediaSource media = 4;</code>
- getOutputs() : RepeatedField<string|int, Output>
- At least one required
- getPreset() : int
- Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 5;</code>
- getRoomName() : string
- Generated from protobuf field <code>string room_name = 1;</code>
- getSource() : string
- getStorage() : StorageConfig|null
- Request-level storage default
- getTemplate() : TemplateSource|null
- Generated from protobuf field <code>.livekit.TemplateSource template = 2;</code>
- getWeb() : WebSource|null
- Generated from protobuf field <code>.livekit.WebSource web = 3;</code>
- getWebhooks() : RepeatedField<string|int, WebhookConfig>
- Optional additional webhook config
- hasAdvanced() : mixed
- hasMedia() : mixed
- hasPreset() : mixed
- hasStorage() : mixed
- hasTemplate() : mixed
- hasWeb() : mixed
- setAdvanced() : $this
- Generated from protobuf field <code>.livekit.EncodingOptions advanced = 6;</code>
- setMedia() : $this
- Generated from protobuf field <code>.livekit.MediaSource media = 4;</code>
- setOutputs() : $this
- At least one required
- setPreset() : $this
- Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 5;</code>
- setRoomName() : $this
- Generated from protobuf field <code>string room_name = 1;</code>
- setStorage() : $this
- Request-level storage default
- setTemplate() : $this
- Generated from protobuf field <code>.livekit.TemplateSource template = 2;</code>
- setWeb() : $this
- Generated from protobuf field <code>.livekit.WebSource web = 3;</code>
- setWebhooks() : $this
- Optional additional webhook config
Properties
$encoding
protected
mixed
$encoding
$room_name
Generated from protobuf field <code>string room_name = 1;</code>
protected
mixed
$room_name
= ''
$source
protected
mixed
$source
$storage
Request-level storage default
protected
mixed
$storage
= null
Generated from protobuf field .livekit.StorageConfig storage = 8;
$outputs
At least one required
private
mixed
$outputs
Generated from protobuf field repeated .livekit.Output outputs = 7;
$webhooks
Optional additional webhook config
private
mixed
$webhooks
Generated from protobuf field repeated .livekit.WebhookConfig webhooks = 9;
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 @type \Livekit\TemplateSource $template @type \Livekit\WebSource $web @type \Livekit\MediaSource $media @type int $preset @type \Livekit\EncodingOptions $advanced @type \Livekit\Output[] $outputs At least one required @type \Livekit\StorageConfig $storage Request-level storage default @type \Livekit\WebhookConfig[] $webhooks Optional additional webhook config}
clearStorage()
public
clearStorage() : mixed
getAdvanced()
Generated from protobuf field <code>.livekit.EncodingOptions advanced = 6;</code>
public
getAdvanced() : EncodingOptions|null
Return values
EncodingOptions|nullgetEncoding()
public
getEncoding() : string
Return values
stringgetMedia()
Generated from protobuf field <code>.livekit.MediaSource media = 4;</code>
public
getMedia() : MediaSource|null
Return values
MediaSource|nullgetOutputs()
At least one required
public
getOutputs() : RepeatedField<string|int, Output>
Generated from protobuf field repeated .livekit.Output outputs = 7;
Return values
RepeatedField<string|int, Output>getPreset()
Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 5;</code>
public
getPreset() : int
Return values
intgetRoomName()
Generated from protobuf field <code>string room_name = 1;</code>
public
getRoomName() : string
Return values
stringgetSource()
public
getSource() : string
Return values
stringgetStorage()
Request-level storage default
public
getStorage() : StorageConfig|null
Generated from protobuf field .livekit.StorageConfig storage = 8;
Return values
StorageConfig|nullgetTemplate()
Generated from protobuf field <code>.livekit.TemplateSource template = 2;</code>
public
getTemplate() : TemplateSource|null
Return values
TemplateSource|nullgetWeb()
Generated from protobuf field <code>.livekit.WebSource web = 3;</code>
public
getWeb() : WebSource|null
Return values
WebSource|nullgetWebhooks()
Optional additional webhook config
public
getWebhooks() : RepeatedField<string|int, WebhookConfig>
Generated from protobuf field repeated .livekit.WebhookConfig webhooks = 9;
Return values
RepeatedField<string|int, WebhookConfig>hasAdvanced()
public
hasAdvanced() : mixed
hasMedia()
public
hasMedia() : mixed
hasPreset()
public
hasPreset() : mixed
hasStorage()
public
hasStorage() : mixed
hasTemplate()
public
hasTemplate() : mixed
hasWeb()
public
hasWeb() : mixed
setAdvanced()
Generated from protobuf field <code>.livekit.EncodingOptions advanced = 6;</code>
public
setAdvanced(EncodingOptions $var) : $this
Parameters
- $var : EncodingOptions
Return values
$thissetMedia()
Generated from protobuf field <code>.livekit.MediaSource media = 4;</code>
public
setMedia(MediaSource $var) : $this
Parameters
- $var : MediaSource
Return values
$thissetOutputs()
At least one required
public
setOutputs(array<string|int, Output> $var) : $this
Generated from protobuf field repeated .livekit.Output outputs = 7;
Parameters
- $var : array<string|int, Output>
Return values
$thissetPreset()
Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 5;</code>
public
setPreset(int $var) : $this
Parameters
- $var : int
Return values
$thissetRoomName()
Generated from protobuf field <code>string room_name = 1;</code>
public
setRoomName(string $var) : $this
Parameters
- $var : string
Return values
$thissetStorage()
Request-level storage default
public
setStorage(StorageConfig $var) : $this
Generated from protobuf field .livekit.StorageConfig storage = 8;
Parameters
- $var : StorageConfig
Return values
$thissetTemplate()
Generated from protobuf field <code>.livekit.TemplateSource template = 2;</code>
public
setTemplate(TemplateSource $var) : $this
Parameters
- $var : TemplateSource
Return values
$thissetWeb()
Generated from protobuf field <code>.livekit.WebSource web = 3;</code>
public
setWeb(WebSource $var) : $this
Parameters
- $var : WebSource
Return values
$thissetWebhooks()
Optional additional webhook config
public
setWebhooks(array<string|int, WebhookConfig> $var) : $this
Generated from protobuf field repeated .livekit.WebhookConfig webhooks = 9;
Parameters
- $var : array<string|int, WebhookConfig>