SegmentsInfo
extends Message
in package
Generated from protobuf message <code>livekit.SegmentsInfo</code>
Table of Contents
Properties
- $duration : mixed
- Generated from protobuf field <code>int64 duration = 2;</code>
- $ended_at : mixed
- Generated from protobuf field <code>int64 ended_at = 7;</code>
- $live_playlist_location : mixed
- Generated from protobuf field <code>string live_playlist_location = 9;</code>
- $live_playlist_name : mixed
- Generated from protobuf field <code>string live_playlist_name = 8;</code>
- $playlist_location : mixed
- Generated from protobuf field <code>string playlist_location = 4;</code>
- $playlist_name : mixed
- Generated from protobuf field <code>string playlist_name = 1;</code>
- $segment_count : mixed
- Generated from protobuf field <code>int64 segment_count = 5;</code>
- $size : mixed
- Generated from protobuf field <code>int64 size = 3;</code>
- $started_at : mixed
- Generated from protobuf field <code>int64 started_at = 6;</code>
Methods
- __construct() : mixed
- Constructor.
- getDuration() : int|string
- Generated from protobuf field <code>int64 duration = 2;</code>
- getEndedAt() : int|string
- Generated from protobuf field <code>int64 ended_at = 7;</code>
- getLivePlaylistLocation() : string
- Generated from protobuf field <code>string live_playlist_location = 9;</code>
- getLivePlaylistName() : string
- Generated from protobuf field <code>string live_playlist_name = 8;</code>
- getPlaylistLocation() : string
- Generated from protobuf field <code>string playlist_location = 4;</code>
- getPlaylistName() : string
- Generated from protobuf field <code>string playlist_name = 1;</code>
- getSegmentCount() : int|string
- Generated from protobuf field <code>int64 segment_count = 5;</code>
- getSize() : int|string
- Generated from protobuf field <code>int64 size = 3;</code>
- getStartedAt() : int|string
- Generated from protobuf field <code>int64 started_at = 6;</code>
- setDuration() : $this
- Generated from protobuf field <code>int64 duration = 2;</code>
- setEndedAt() : $this
- Generated from protobuf field <code>int64 ended_at = 7;</code>
- setLivePlaylistLocation() : $this
- Generated from protobuf field <code>string live_playlist_location = 9;</code>
- setLivePlaylistName() : $this
- Generated from protobuf field <code>string live_playlist_name = 8;</code>
- setPlaylistLocation() : $this
- Generated from protobuf field <code>string playlist_location = 4;</code>
- setPlaylistName() : $this
- Generated from protobuf field <code>string playlist_name = 1;</code>
- setSegmentCount() : $this
- Generated from protobuf field <code>int64 segment_count = 5;</code>
- setSize() : $this
- Generated from protobuf field <code>int64 size = 3;</code>
- setStartedAt() : $this
- Generated from protobuf field <code>int64 started_at = 6;</code>
Properties
$duration
Generated from protobuf field <code>int64 duration = 2;</code>
protected
mixed
$duration
= 0
$ended_at
Generated from protobuf field <code>int64 ended_at = 7;</code>
protected
mixed
$ended_at
= 0
$live_playlist_location
Generated from protobuf field <code>string live_playlist_location = 9;</code>
protected
mixed
$live_playlist_location
= ''
$live_playlist_name
Generated from protobuf field <code>string live_playlist_name = 8;</code>
protected
mixed
$live_playlist_name
= ''
$playlist_location
Generated from protobuf field <code>string playlist_location = 4;</code>
protected
mixed
$playlist_location
= ''
$playlist_name
Generated from protobuf field <code>string playlist_name = 1;</code>
protected
mixed
$playlist_name
= ''
$segment_count
Generated from protobuf field <code>int64 segment_count = 5;</code>
protected
mixed
$segment_count
= 0
$size
Generated from protobuf field <code>int64 size = 3;</code>
protected
mixed
$size
= 0
$started_at
Generated from protobuf field <code>int64 started_at = 6;</code>
protected
mixed
$started_at
= 0
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 $playlist_name @type string $live_playlist_name @type int|string $duration @type int|string $size @type string $playlist_location @type string $live_playlist_location @type int|string $segment_count @type int|string $started_at @type int|string $ended_at}
getDuration()
Generated from protobuf field <code>int64 duration = 2;</code>
public
getDuration() : int|string
Return values
int|stringgetEndedAt()
Generated from protobuf field <code>int64 ended_at = 7;</code>
public
getEndedAt() : int|string
Return values
int|stringgetLivePlaylistLocation()
Generated from protobuf field <code>string live_playlist_location = 9;</code>
public
getLivePlaylistLocation() : string
Return values
stringgetLivePlaylistName()
Generated from protobuf field <code>string live_playlist_name = 8;</code>
public
getLivePlaylistName() : string
Return values
stringgetPlaylistLocation()
Generated from protobuf field <code>string playlist_location = 4;</code>
public
getPlaylistLocation() : string
Return values
stringgetPlaylistName()
Generated from protobuf field <code>string playlist_name = 1;</code>
public
getPlaylistName() : string
Return values
stringgetSegmentCount()
Generated from protobuf field <code>int64 segment_count = 5;</code>
public
getSegmentCount() : int|string
Return values
int|stringgetSize()
Generated from protobuf field <code>int64 size = 3;</code>
public
getSize() : int|string
Return values
int|stringgetStartedAt()
Generated from protobuf field <code>int64 started_at = 6;</code>
public
getStartedAt() : int|string
Return values
int|stringsetDuration()
Generated from protobuf field <code>int64 duration = 2;</code>
public
setDuration(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetEndedAt()
Generated from protobuf field <code>int64 ended_at = 7;</code>
public
setEndedAt(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetLivePlaylistLocation()
Generated from protobuf field <code>string live_playlist_location = 9;</code>
public
setLivePlaylistLocation(string $var) : $this
Parameters
- $var : string
Return values
$thissetLivePlaylistName()
Generated from protobuf field <code>string live_playlist_name = 8;</code>
public
setLivePlaylistName(string $var) : $this
Parameters
- $var : string
Return values
$thissetPlaylistLocation()
Generated from protobuf field <code>string playlist_location = 4;</code>
public
setPlaylistLocation(string $var) : $this
Parameters
- $var : string
Return values
$thissetPlaylistName()
Generated from protobuf field <code>string playlist_name = 1;</code>
public
setPlaylistName(string $var) : $this
Parameters
- $var : string
Return values
$thissetSegmentCount()
Generated from protobuf field <code>int64 segment_count = 5;</code>
public
setSegmentCount(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetSize()
Generated from protobuf field <code>int64 size = 3;</code>
public
setSize(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetStartedAt()
Generated from protobuf field <code>int64 started_at = 6;</code>
public
setStartedAt(int|string $var) : $this
Parameters
- $var : int|string