Class RTPDrift
Implements
IBufferMessage
IMessage
Namespace: LiveKit.Proto
Assembly: Uniform.LiveKit.Protocol.dll
Syntax
public sealed class RTPDrift : IMessage<RTPDrift>, IEquatable<RTPDrift>, IDeepCloneable<RTPDrift>, IBufferMessage, IMessage
Constructors
RTPDrift()
Declaration
RTPDrift(RTPDrift)
Declaration
public RTPDrift(RTPDrift other)
Parameters
Fields
ClockRateFieldNumber
Field number for the "clock_rate" field.
Declaration
public const int ClockRateFieldNumber = 9
Field Value
DriftMsFieldNumber
Field number for the "drift_ms" field.
Declaration
public const int DriftMsFieldNumber = 8
Field Value
DriftSamplesFieldNumber
Field number for the "drift_samples" field.
Declaration
public const int DriftSamplesFieldNumber = 7
Field Value
DurationFieldNumber
Field number for the "duration" field.
Declaration
public const int DurationFieldNumber = 3
Field Value
EndTimeFieldNumber
Field number for the "end_time" field.
Declaration
public const int EndTimeFieldNumber = 2
Field Value
EndTimestampFieldNumber
Field number for the "end_timestamp" field.
Declaration
public const int EndTimestampFieldNumber = 5
Field Value
RtpClockTicksFieldNumber
Field number for the "rtp_clock_ticks" field.
Declaration
public const int RtpClockTicksFieldNumber = 6
Field Value
StartTimeFieldNumber
Field number for the "start_time" field.
Declaration
public const int StartTimeFieldNumber = 1
Field Value
StartTimestampFieldNumber
Field number for the "start_timestamp" field.
Declaration
public const int StartTimestampFieldNumber = 4
Field Value
Properties
ClockRate
Declaration
public double ClockRate { get; set; }
Property Value
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
| Type |
Description |
| MessageDescriptor |
|
DriftMs
Declaration
public double DriftMs { get; set; }
Property Value
DriftSamples
Declaration
public long DriftSamples { get; set; }
Property Value
Duration
Declaration
public double Duration { get; set; }
Property Value
EndTime
Declaration
public Timestamp EndTime { get; set; }
Property Value
| Type |
Description |
| Timestamp |
|
EndTimestamp
Declaration
public ulong EndTimestamp { get; set; }
Property Value
Parser
Declaration
public static MessageParser<RTPDrift> Parser { get; }
Property Value
| Type |
Description |
| MessageParser<RTPDrift> |
|
RtpClockTicks
Declaration
public ulong RtpClockTicks { get; set; }
Property Value
StartTime
Declaration
public Timestamp StartTime { get; set; }
Property Value
| Type |
Description |
| Timestamp |
|
StartTimestamp
Declaration
public ulong StartTimestamp { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Declaration
public int CalculateSize()
Returns
| Type |
Description |
| int |
The number of bytes required to write this message
to a coded output stream.
|
Clone()
Creates a deep clone of this object.
Declaration
Returns
| Type |
Description |
| RTPDrift |
A deep clone of this object.
|
Equals(RTPDrift)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(RTPDrift other)
Parameters
| Type |
Name |
Description |
| RTPDrift |
other |
An object to compare with this object.
|
Returns
| Type |
Description |
| bool |
true if the current object is equal to the other parameter; otherwise, false.
|
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object other)
Parameters
| Type |
Name |
Description |
| object |
other |
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
Overrides
Merges the data from the specified coded input stream with the current message.
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
| Type |
Name |
Description |
| CodedInputStream |
input |
|
MergeFrom(RTPDrift)
Merges the given message into this one.
Declaration
public void MergeFrom(RTPDrift other)
Parameters
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type |
Description |
| string |
A string that represents the current object.
|
Overrides
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
| Type |
Name |
Description |
| CodedOutputStream |
output |
Coded output stream to write the data to. Must not be null.
|
Implements
Google.Protobuf.IMessage<T>
Google.Protobuf.IDeepCloneable<T>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage