StreamInfo
extends Message
in package
Generated from protobuf message <code>livekit.StreamInfo</code>
Table of Contents
Properties
- $duration : mixed
- Generated from protobuf field <code>int64 duration = 4;</code>
- $ended_at : mixed
- Generated from protobuf field <code>int64 ended_at = 3;</code>
- $error : mixed
- Generated from protobuf field <code>string error = 6;</code>
- $last_retry_at : mixed
- Generated from protobuf field <code>int64 last_retry_at = 7;</code>
- $retries : mixed
- Generated from protobuf field <code>uint32 retries = 8;</code>
- $started_at : mixed
- Generated from protobuf field <code>int64 started_at = 2;</code>
- $status : mixed
- Generated from protobuf field <code>.livekit.StreamInfo.Status status = 5;</code>
- $url : mixed
- Generated from protobuf field <code>string url = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- getDuration() : int|string
- Generated from protobuf field <code>int64 duration = 4;</code>
- getEndedAt() : int|string
- Generated from protobuf field <code>int64 ended_at = 3;</code>
- getError() : string
- Generated from protobuf field <code>string error = 6;</code>
- getLastRetryAt() : int|string
- Generated from protobuf field <code>int64 last_retry_at = 7;</code>
- getRetries() : int
- Generated from protobuf field <code>uint32 retries = 8;</code>
- getStartedAt() : int|string
- Generated from protobuf field <code>int64 started_at = 2;</code>
- getStatus() : int
- Generated from protobuf field <code>.livekit.StreamInfo.Status status = 5;</code>
- getUrl() : string
- Generated from protobuf field <code>string url = 1;</code>
- setDuration() : $this
- Generated from protobuf field <code>int64 duration = 4;</code>
- setEndedAt() : $this
- Generated from protobuf field <code>int64 ended_at = 3;</code>
- setError() : $this
- Generated from protobuf field <code>string error = 6;</code>
- setLastRetryAt() : $this
- Generated from protobuf field <code>int64 last_retry_at = 7;</code>
- setRetries() : $this
- Generated from protobuf field <code>uint32 retries = 8;</code>
- setStartedAt() : $this
- Generated from protobuf field <code>int64 started_at = 2;</code>
- setStatus() : $this
- Generated from protobuf field <code>.livekit.StreamInfo.Status status = 5;</code>
- setUrl() : $this
- Generated from protobuf field <code>string url = 1;</code>
Properties
$duration
Generated from protobuf field <code>int64 duration = 4;</code>
protected
mixed
$duration
= 0
$ended_at
Generated from protobuf field <code>int64 ended_at = 3;</code>
protected
mixed
$ended_at
= 0
$error
Generated from protobuf field <code>string error = 6;</code>
protected
mixed
$error
= ''
$last_retry_at
Generated from protobuf field <code>int64 last_retry_at = 7;</code>
protected
mixed
$last_retry_at
= 0
$retries
Generated from protobuf field <code>uint32 retries = 8;</code>
protected
mixed
$retries
= 0
$started_at
Generated from protobuf field <code>int64 started_at = 2;</code>
protected
mixed
$started_at
= 0
$status
Generated from protobuf field <code>.livekit.StreamInfo.Status status = 5;</code>
protected
mixed
$status
= 0
$url
Generated from protobuf field <code>string url = 1;</code>
protected
mixed
$url
= ''
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 $url @type int|string $started_at @type int|string $ended_at @type int|string $duration @type int $status @type string $error @type int|string $last_retry_at @type int $retries}
getDuration()
Generated from protobuf field <code>int64 duration = 4;</code>
public
getDuration() : int|string
Return values
int|stringgetEndedAt()
Generated from protobuf field <code>int64 ended_at = 3;</code>
public
getEndedAt() : int|string
Return values
int|stringgetError()
Generated from protobuf field <code>string error = 6;</code>
public
getError() : string
Return values
stringgetLastRetryAt()
Generated from protobuf field <code>int64 last_retry_at = 7;</code>
public
getLastRetryAt() : int|string
Return values
int|stringgetRetries()
Generated from protobuf field <code>uint32 retries = 8;</code>
public
getRetries() : int
Return values
intgetStartedAt()
Generated from protobuf field <code>int64 started_at = 2;</code>
public
getStartedAt() : int|string
Return values
int|stringgetStatus()
Generated from protobuf field <code>.livekit.StreamInfo.Status status = 5;</code>
public
getStatus() : int
Return values
intgetUrl()
Generated from protobuf field <code>string url = 1;</code>
public
getUrl() : string
Return values
stringsetDuration()
Generated from protobuf field <code>int64 duration = 4;</code>
public
setDuration(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetEndedAt()
Generated from protobuf field <code>int64 ended_at = 3;</code>
public
setEndedAt(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetError()
Generated from protobuf field <code>string error = 6;</code>
public
setError(string $var) : $this
Parameters
- $var : string
Return values
$thissetLastRetryAt()
Generated from protobuf field <code>int64 last_retry_at = 7;</code>
public
setLastRetryAt(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetRetries()
Generated from protobuf field <code>uint32 retries = 8;</code>
public
setRetries(int $var) : $this
Parameters
- $var : int
Return values
$thissetStartedAt()
Generated from protobuf field <code>int64 started_at = 2;</code>
public
setStartedAt(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetStatus()
Generated from protobuf field <code>.livekit.StreamInfo.Status status = 5;</code>
public
setStatus(int $var) : $this
Parameters
- $var : int
Return values
$thissetUrl()
Generated from protobuf field <code>string url = 1;</code>
public
setUrl(string $var) : $this
Parameters
- $var : string