SegmentedFileOutput
extends Message
in package
Used to generate HLS segments or other kind of segmented output
Generated from protobuf message livekit.SegmentedFileOutput
Table of Contents
Properties
- $disable_manifest : mixed
- disable upload of manifest file (default false)
- $filename_prefix : mixed
- (optional)
- $filename_suffix : mixed
- (optional, default INDEX)
- $live_playlist_name : mixed
- (optional, disabled if not provided). Path of a live playlist
- $output : mixed
- $playlist_name : mixed
- (optional)
- $protocol : mixed
- (optional)
- $segment_duration : mixed
- in seconds (optional)
Methods
- __construct() : mixed
- Constructor.
- getAliOSS() : AliOSSUpload|null
- Generated from protobuf field <code>.livekit.AliOSSUpload aliOSS = 9;</code>
- getAzure() : AzureBlobUpload|null
- Generated from protobuf field <code>.livekit.AzureBlobUpload azure = 7;</code>
- getDisableManifest() : bool
- disable upload of manifest file (default false)
- getFilenamePrefix() : string
- (optional)
- getFilenameSuffix() : int
- (optional, default INDEX)
- getGcp() : GCPUpload|null
- Generated from protobuf field <code>.livekit.GCPUpload gcp = 6;</code>
- getLivePlaylistName() : string
- (optional, disabled if not provided). Path of a live playlist
- getOutput() : string
- getPlaylistName() : string
- (optional)
- getProtocol() : int
- (optional)
- getS3() : S3Upload|null
- Generated from protobuf field <code>.livekit.S3Upload s3 = 5;</code>
- getSegmentDuration() : int
- in seconds (optional)
- hasAliOSS() : mixed
- hasAzure() : mixed
- hasGcp() : mixed
- hasS3() : mixed
- setAliOSS() : $this
- Generated from protobuf field <code>.livekit.AliOSSUpload aliOSS = 9;</code>
- setAzure() : $this
- Generated from protobuf field <code>.livekit.AzureBlobUpload azure = 7;</code>
- setDisableManifest() : $this
- disable upload of manifest file (default false)
- setFilenamePrefix() : $this
- (optional)
- setFilenameSuffix() : $this
- (optional, default INDEX)
- setGcp() : $this
- Generated from protobuf field <code>.livekit.GCPUpload gcp = 6;</code>
- setLivePlaylistName() : $this
- (optional, disabled if not provided). Path of a live playlist
- setPlaylistName() : $this
- (optional)
- setProtocol() : $this
- (optional)
- setS3() : $this
- Generated from protobuf field <code>.livekit.S3Upload s3 = 5;</code>
- setSegmentDuration() : $this
- in seconds (optional)
Properties
$disable_manifest
disable upload of manifest file (default false)
protected
mixed
$disable_manifest
= false
Generated from protobuf field bool disable_manifest = 8;
$filename_prefix
(optional)
protected
mixed
$filename_prefix
= ''
Generated from protobuf field string filename_prefix = 2;
$filename_suffix
(optional, default INDEX)
protected
mixed
$filename_suffix
= 0
Generated from protobuf field .livekit.SegmentedFileSuffix filename_suffix = 10;
$live_playlist_name
(optional, disabled if not provided). Path of a live playlist
protected
mixed
$live_playlist_name
= ''
Generated from protobuf field string live_playlist_name = 11;
$output
protected
mixed
$output
$playlist_name
(optional)
protected
mixed
$playlist_name
= ''
Generated from protobuf field string playlist_name = 3;
$protocol
(optional)
protected
mixed
$protocol
= 0
Generated from protobuf field .livekit.SegmentedFileProtocol protocol = 1;
$segment_duration
in seconds (optional)
protected
mixed
$segment_duration
= 0
Generated from protobuf field uint32 segment_duration = 4;
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 int $protocol (optional) @type string $filename_prefix (optional) @type string $playlist_name (optional) @type string $live_playlist_name (optional, disabled if not provided). Path of a live playlist @type int $segment_duration in seconds (optional) @type int $filename_suffix (optional, default INDEX) @type bool $disable_manifest disable upload of manifest file (default false) @type \Livekit\S3Upload $s3 @type \Livekit\GCPUpload $gcp @type \Livekit\AzureBlobUpload $azure @type \Livekit\AliOSSUpload $aliOSS}
getAliOSS()
Generated from protobuf field <code>.livekit.AliOSSUpload aliOSS = 9;</code>
public
getAliOSS() : AliOSSUpload|null
Return values
AliOSSUpload|nullgetAzure()
Generated from protobuf field <code>.livekit.AzureBlobUpload azure = 7;</code>
public
getAzure() : AzureBlobUpload|null
Return values
AzureBlobUpload|nullgetDisableManifest()
disable upload of manifest file (default false)
public
getDisableManifest() : bool
Generated from protobuf field bool disable_manifest = 8;
Return values
boolgetFilenamePrefix()
(optional)
public
getFilenamePrefix() : string
Generated from protobuf field string filename_prefix = 2;
Return values
stringgetFilenameSuffix()
(optional, default INDEX)
public
getFilenameSuffix() : int
Generated from protobuf field .livekit.SegmentedFileSuffix filename_suffix = 10;
Return values
intgetGcp()
Generated from protobuf field <code>.livekit.GCPUpload gcp = 6;</code>
public
getGcp() : GCPUpload|null
Return values
GCPUpload|nullgetLivePlaylistName()
(optional, disabled if not provided). Path of a live playlist
public
getLivePlaylistName() : string
Generated from protobuf field string live_playlist_name = 11;
Return values
stringgetOutput()
public
getOutput() : string
Return values
stringgetPlaylistName()
(optional)
public
getPlaylistName() : string
Generated from protobuf field string playlist_name = 3;
Return values
stringgetProtocol()
(optional)
public
getProtocol() : int
Generated from protobuf field .livekit.SegmentedFileProtocol protocol = 1;
Return values
intgetS3()
Generated from protobuf field <code>.livekit.S3Upload s3 = 5;</code>
public
getS3() : S3Upload|null
Return values
S3Upload|nullgetSegmentDuration()
in seconds (optional)
public
getSegmentDuration() : int
Generated from protobuf field uint32 segment_duration = 4;
Return values
inthasAliOSS()
public
hasAliOSS() : mixed
hasAzure()
public
hasAzure() : mixed
hasGcp()
public
hasGcp() : mixed
hasS3()
public
hasS3() : mixed
setAliOSS()
Generated from protobuf field <code>.livekit.AliOSSUpload aliOSS = 9;</code>
public
setAliOSS(AliOSSUpload $var) : $this
Parameters
- $var : AliOSSUpload
Return values
$thissetAzure()
Generated from protobuf field <code>.livekit.AzureBlobUpload azure = 7;</code>
public
setAzure(AzureBlobUpload $var) : $this
Parameters
- $var : AzureBlobUpload
Return values
$thissetDisableManifest()
disable upload of manifest file (default false)
public
setDisableManifest(bool $var) : $this
Generated from protobuf field bool disable_manifest = 8;
Parameters
- $var : bool
Return values
$thissetFilenamePrefix()
(optional)
public
setFilenamePrefix(string $var) : $this
Generated from protobuf field string filename_prefix = 2;
Parameters
- $var : string
Return values
$thissetFilenameSuffix()
(optional, default INDEX)
public
setFilenameSuffix(int $var) : $this
Generated from protobuf field .livekit.SegmentedFileSuffix filename_suffix = 10;
Parameters
- $var : int
Return values
$thissetGcp()
Generated from protobuf field <code>.livekit.GCPUpload gcp = 6;</code>
public
setGcp(GCPUpload $var) : $this
Parameters
- $var : GCPUpload
Return values
$thissetLivePlaylistName()
(optional, disabled if not provided). Path of a live playlist
public
setLivePlaylistName(string $var) : $this
Generated from protobuf field string live_playlist_name = 11;
Parameters
- $var : string
Return values
$thissetPlaylistName()
(optional)
public
setPlaylistName(string $var) : $this
Generated from protobuf field string playlist_name = 3;
Parameters
- $var : string
Return values
$thissetProtocol()
(optional)
public
setProtocol(int $var) : $this
Generated from protobuf field .livekit.SegmentedFileProtocol protocol = 1;
Parameters
- $var : int
Return values
$thissetS3()
Generated from protobuf field <code>.livekit.S3Upload s3 = 5;</code>
public
setS3(S3Upload $var) : $this
Parameters
- $var : S3Upload
Return values
$thissetSegmentDuration()
in seconds (optional)
public
setSegmentDuration(int $var) : $this
Generated from protobuf field uint32 segment_duration = 4;
Parameters
- $var : int