RTPDrift
extends Message
in package
Generated from protobuf message <code>livekit.RTPDrift</code>
Table of Contents
Properties
- $clock_rate : mixed
- Generated from protobuf field <code>double clock_rate = 9;</code>
- $drift_ms : mixed
- Generated from protobuf field <code>double drift_ms = 8;</code>
- $drift_samples : mixed
- Generated from protobuf field <code>int64 drift_samples = 7;</code>
- $duration : mixed
- Generated from protobuf field <code>double duration = 3;</code>
- $end_time : mixed
- Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2;</code>
- $end_timestamp : mixed
- Generated from protobuf field <code>uint64 end_timestamp = 5;</code>
- $rtp_clock_ticks : mixed
- Generated from protobuf field <code>uint64 rtp_clock_ticks = 6;</code>
- $start_time : mixed
- Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code>
- $start_timestamp : mixed
- Generated from protobuf field <code>uint64 start_timestamp = 4;</code>
Methods
- __construct() : mixed
- Constructor.
- clearEndTime() : mixed
- clearStartTime() : mixed
- getClockRate() : float
- Generated from protobuf field <code>double clock_rate = 9;</code>
- getDriftMs() : float
- Generated from protobuf field <code>double drift_ms = 8;</code>
- getDriftSamples() : int|string
- Generated from protobuf field <code>int64 drift_samples = 7;</code>
- getDuration() : float
- Generated from protobuf field <code>double duration = 3;</code>
- getEndTime() : Timestamp|null
- Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2;</code>
- getEndTimestamp() : int|string
- Generated from protobuf field <code>uint64 end_timestamp = 5;</code>
- getRtpClockTicks() : int|string
- Generated from protobuf field <code>uint64 rtp_clock_ticks = 6;</code>
- getStartTime() : Timestamp|null
- Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code>
- getStartTimestamp() : int|string
- Generated from protobuf field <code>uint64 start_timestamp = 4;</code>
- hasEndTime() : mixed
- hasStartTime() : mixed
- setClockRate() : $this
- Generated from protobuf field <code>double clock_rate = 9;</code>
- setDriftMs() : $this
- Generated from protobuf field <code>double drift_ms = 8;</code>
- setDriftSamples() : $this
- Generated from protobuf field <code>int64 drift_samples = 7;</code>
- setDuration() : $this
- Generated from protobuf field <code>double duration = 3;</code>
- setEndTime() : $this
- Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2;</code>
- setEndTimestamp() : $this
- Generated from protobuf field <code>uint64 end_timestamp = 5;</code>
- setRtpClockTicks() : $this
- Generated from protobuf field <code>uint64 rtp_clock_ticks = 6;</code>
- setStartTime() : $this
- Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code>
- setStartTimestamp() : $this
- Generated from protobuf field <code>uint64 start_timestamp = 4;</code>
Properties
$clock_rate
Generated from protobuf field <code>double clock_rate = 9;</code>
protected
mixed
$clock_rate
= 0.0
$drift_ms
Generated from protobuf field <code>double drift_ms = 8;</code>
protected
mixed
$drift_ms
= 0.0
$drift_samples
Generated from protobuf field <code>int64 drift_samples = 7;</code>
protected
mixed
$drift_samples
= 0
$duration
Generated from protobuf field <code>double duration = 3;</code>
protected
mixed
$duration
= 0.0
$end_time
Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2;</code>
protected
mixed
$end_time
= null
$end_timestamp
Generated from protobuf field <code>uint64 end_timestamp = 5;</code>
protected
mixed
$end_timestamp
= 0
$rtp_clock_ticks
Generated from protobuf field <code>uint64 rtp_clock_ticks = 6;</code>
protected
mixed
$rtp_clock_ticks
= 0
$start_time
Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code>
protected
mixed
$start_time
= null
$start_timestamp
Generated from protobuf field <code>uint64 start_timestamp = 4;</code>
protected
mixed
$start_timestamp
= 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 \Google\Protobuf\Timestamp $start_time @type \Google\Protobuf\Timestamp $end_time @type float $duration @type int|string $start_timestamp @type int|string $end_timestamp @type int|string $rtp_clock_ticks @type int|string $drift_samples @type float $drift_ms @type float $clock_rate}
clearEndTime()
public
clearEndTime() : mixed
clearStartTime()
public
clearStartTime() : mixed
getClockRate()
Generated from protobuf field <code>double clock_rate = 9;</code>
public
getClockRate() : float
Return values
floatgetDriftMs()
Generated from protobuf field <code>double drift_ms = 8;</code>
public
getDriftMs() : float
Return values
floatgetDriftSamples()
Generated from protobuf field <code>int64 drift_samples = 7;</code>
public
getDriftSamples() : int|string
Return values
int|stringgetDuration()
Generated from protobuf field <code>double duration = 3;</code>
public
getDuration() : float
Return values
floatgetEndTime()
Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2;</code>
public
getEndTime() : Timestamp|null
Return values
Timestamp|nullgetEndTimestamp()
Generated from protobuf field <code>uint64 end_timestamp = 5;</code>
public
getEndTimestamp() : int|string
Return values
int|stringgetRtpClockTicks()
Generated from protobuf field <code>uint64 rtp_clock_ticks = 6;</code>
public
getRtpClockTicks() : int|string
Return values
int|stringgetStartTime()
Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code>
public
getStartTime() : Timestamp|null
Return values
Timestamp|nullgetStartTimestamp()
Generated from protobuf field <code>uint64 start_timestamp = 4;</code>
public
getStartTimestamp() : int|string
Return values
int|stringhasEndTime()
public
hasEndTime() : mixed
hasStartTime()
public
hasStartTime() : mixed
setClockRate()
Generated from protobuf field <code>double clock_rate = 9;</code>
public
setClockRate(float $var) : $this
Parameters
- $var : float
Return values
$thissetDriftMs()
Generated from protobuf field <code>double drift_ms = 8;</code>
public
setDriftMs(float $var) : $this
Parameters
- $var : float
Return values
$thissetDriftSamples()
Generated from protobuf field <code>int64 drift_samples = 7;</code>
public
setDriftSamples(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetDuration()
Generated from protobuf field <code>double duration = 3;</code>
public
setDuration(float $var) : $this
Parameters
- $var : float
Return values
$thissetEndTime()
Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2;</code>
public
setEndTime(Timestamp $var) : $this
Parameters
- $var : Timestamp
Return values
$thissetEndTimestamp()
Generated from protobuf field <code>uint64 end_timestamp = 5;</code>
public
setEndTimestamp(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetRtpClockTicks()
Generated from protobuf field <code>uint64 rtp_clock_ticks = 6;</code>
public
setRtpClockTicks(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetStartTime()
Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code>
public
setStartTime(Timestamp $var) : $this
Parameters
- $var : Timestamp
Return values
$thissetStartTimestamp()
Generated from protobuf field <code>uint64 start_timestamp = 4;</code>
public
setStartTimestamp(int|string $var) : $this
Parameters
- $var : int|string