TrackEgressRequest
extends Message
in package
record tracks individually, without transcoding
Generated from protobuf message livekit.TrackEgressRequest
Table of Contents
Properties
- $output : mixed
- $room_name : mixed
- required
- $track_id : mixed
- required
- $webhooks : mixed
- extra webhooks to call for this request
Methods
- __construct() : mixed
- Constructor.
- getFile() : DirectFileOutput|null
- Generated from protobuf field <code>.livekit.DirectFileOutput file = 3;</code>
- getOutput() : string
- getRoomName() : string
- required
- getTrackId() : string
- required
- getWebhooks() : RepeatedField<string|int, WebhookConfig>
- extra webhooks to call for this request
- getWebsocketUrl() : string
- Generated from protobuf field <code>string websocket_url = 4;</code>
- hasFile() : mixed
- hasWebsocketUrl() : mixed
- setFile() : $this
- Generated from protobuf field <code>.livekit.DirectFileOutput file = 3;</code>
- setRoomName() : $this
- required
- setTrackId() : $this
- required
- setWebhooks() : $this
- extra webhooks to call for this request
- setWebsocketUrl() : $this
- Generated from protobuf field <code>string websocket_url = 4;</code>
Properties
$output
protected
mixed
$output
$room_name
required
protected
mixed
$room_name
= ''
Generated from protobuf field string room_name = 1;
$track_id
required
protected
mixed
$track_id
= ''
Generated from protobuf field string track_id = 2;
$webhooks
extra webhooks to call for this request
private
mixed
$webhooks
Generated from protobuf field repeated .livekit.WebhookConfig webhooks = 5;
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 $track_id required @type \Livekit\DirectFileOutput $file @type string $websocket_url @type \Livekit\WebhookConfig[] $webhooks extra webhooks to call for this request}
getFile()
Generated from protobuf field <code>.livekit.DirectFileOutput file = 3;</code>
public
getFile() : DirectFileOutput|null
Return values
DirectFileOutput|nullgetOutput()
public
getOutput() : string
Return values
stringgetRoomName()
required
public
getRoomName() : string
Generated from protobuf field string room_name = 1;
Return values
stringgetTrackId()
required
public
getTrackId() : string
Generated from protobuf field string track_id = 2;
Return values
stringgetWebhooks()
extra webhooks to call for this request
public
getWebhooks() : RepeatedField<string|int, WebhookConfig>
Generated from protobuf field repeated .livekit.WebhookConfig webhooks = 5;
Return values
RepeatedField<string|int, WebhookConfig>getWebsocketUrl()
Generated from protobuf field <code>string websocket_url = 4;</code>
public
getWebsocketUrl() : string
Return values
stringhasFile()
public
hasFile() : mixed
hasWebsocketUrl()
public
hasWebsocketUrl() : mixed
setFile()
Generated from protobuf field <code>.livekit.DirectFileOutput file = 3;</code>
public
setFile(DirectFileOutput $var) : $this
Parameters
- $var : DirectFileOutput
Return values
$thissetRoomName()
required
public
setRoomName(string $var) : $this
Generated from protobuf field string room_name = 1;
Parameters
- $var : string
Return values
$thissetTrackId()
required
public
setTrackId(string $var) : $this
Generated from protobuf field string track_id = 2;
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 = 5;
Parameters
- $var : array<string|int, WebhookConfig>
Return values
$thissetWebsocketUrl()
Generated from protobuf field <code>string websocket_url = 4;</code>
public
setWebsocketUrl(string $var) : $this
Parameters
- $var : string