Documentation

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|string

getEndedAt()

Generated from protobuf field <code>int64 ended_at = 7;</code>

public getEndedAt() : int|string
Return values
int|string

getLivePlaylistLocation()

Generated from protobuf field <code>string live_playlist_location = 9;</code>

public getLivePlaylistLocation() : string
Return values
string

getLivePlaylistName()

Generated from protobuf field <code>string live_playlist_name = 8;</code>

public getLivePlaylistName() : string
Return values
string

getPlaylistLocation()

Generated from protobuf field <code>string playlist_location = 4;</code>

public getPlaylistLocation() : string
Return values
string

getPlaylistName()

Generated from protobuf field <code>string playlist_name = 1;</code>

public getPlaylistName() : string
Return values
string

getSegmentCount()

Generated from protobuf field <code>int64 segment_count = 5;</code>

public getSegmentCount() : int|string
Return values
int|string

getSize()

Generated from protobuf field <code>int64 size = 3;</code>

public getSize() : int|string
Return values
int|string

getStartedAt()

Generated from protobuf field <code>int64 started_at = 6;</code>

public getStartedAt() : int|string
Return values
int|string

setDuration()

Generated from protobuf field <code>int64 duration = 2;</code>

public setDuration(int|string $var) : $this
Parameters
$var : int|string
Return values
$this

setEndedAt()

Generated from protobuf field <code>int64 ended_at = 7;</code>

public setEndedAt(int|string $var) : $this
Parameters
$var : int|string
Return values
$this

setLivePlaylistLocation()

Generated from protobuf field <code>string live_playlist_location = 9;</code>

public setLivePlaylistLocation(string $var) : $this
Parameters
$var : string
Return values
$this

setLivePlaylistName()

Generated from protobuf field <code>string live_playlist_name = 8;</code>

public setLivePlaylistName(string $var) : $this
Parameters
$var : string
Return values
$this

setPlaylistLocation()

Generated from protobuf field <code>string playlist_location = 4;</code>

public setPlaylistLocation(string $var) : $this
Parameters
$var : string
Return values
$this

setPlaylistName()

Generated from protobuf field <code>string playlist_name = 1;</code>

public setPlaylistName(string $var) : $this
Parameters
$var : string
Return values
$this

setSegmentCount()

Generated from protobuf field <code>int64 segment_count = 5;</code>

public setSegmentCount(int|string $var) : $this
Parameters
$var : int|string
Return values
$this

setSize()

Generated from protobuf field <code>int64 size = 3;</code>

public setSize(int|string $var) : $this
Parameters
$var : int|string
Return values
$this

setStartedAt()

Generated from protobuf field <code>int64 started_at = 6;</code>

public setStartedAt(int|string $var) : $this
Parameters
$var : int|string
Return values
$this

        
On this page

Search results