Table of Contents

Class RTPDrift

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class RTPDrift : IMessage<RTPDrift>, IEquatable<RTPDrift>, IDeepCloneable<RTPDrift>, IBufferMessage, IMessage
Inheritance
RTPDrift
Implements
IMessage<RTPDrift>
IDeepCloneable<RTPDrift>
IBufferMessage
IMessage
Inherited Members

Constructors

RTPDrift()

public RTPDrift()

RTPDrift(RTPDrift)

public RTPDrift(RTPDrift other)

Parameters

other RTPDrift

Fields

ClockRateFieldNumber

Field number for the "clock_rate" field.

public const int ClockRateFieldNumber = 9

Field Value

int

DriftMsFieldNumber

Field number for the "drift_ms" field.

public const int DriftMsFieldNumber = 8

Field Value

int

DriftSamplesFieldNumber

Field number for the "drift_samples" field.

public const int DriftSamplesFieldNumber = 7

Field Value

int

DurationFieldNumber

Field number for the "duration" field.

public const int DurationFieldNumber = 3

Field Value

int

EndTimeFieldNumber

Field number for the "end_time" field.

public const int EndTimeFieldNumber = 2

Field Value

int

EndTimestampFieldNumber

Field number for the "end_timestamp" field.

public const int EndTimestampFieldNumber = 5

Field Value

int

RtpClockTicksFieldNumber

Field number for the "rtp_clock_ticks" field.

public const int RtpClockTicksFieldNumber = 6

Field Value

int

StartTimeFieldNumber

Field number for the "start_time" field.

public const int StartTimeFieldNumber = 1

Field Value

int

StartTimestampFieldNumber

Field number for the "start_timestamp" field.

public const int StartTimestampFieldNumber = 4

Field Value

int

Properties

ClockRate

public double ClockRate { get; set; }

Property Value

double

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DriftMs

public double DriftMs { get; set; }

Property Value

double

DriftSamples

public long DriftSamples { get; set; }

Property Value

long

Duration

public double Duration { get; set; }

Property Value

double

EndTime

public Timestamp EndTime { get; set; }

Property Value

Timestamp

EndTimestamp

public ulong EndTimestamp { get; set; }

Property Value

ulong

Parser

public static MessageParser<RTPDrift> Parser { get; }

Property Value

MessageParser<RTPDrift>

RtpClockTicks

public ulong RtpClockTicks { get; set; }

Property Value

ulong

StartTime

public Timestamp StartTime { get; set; }

Property Value

Timestamp

StartTimestamp

public ulong StartTimestamp { get; set; }

Property Value

ulong

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public RTPDrift Clone()

Returns

RTPDrift

A deep clone of this object.

Equals(RTPDrift)

public bool Equals(RTPDrift other)

Parameters

other RTPDrift

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(RTPDrift)

Merges the given message into this one.

public void MergeFrom(RTPDrift other)

Parameters

other RTPDrift

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.