Class RTPDrift
public sealed class RTPDrift : IMessage<RTPDrift>, IEquatable<RTPDrift>, IDeepCloneable<RTPDrift>, IBufferMessage, IMessage
- Inheritance
-
RTPDrift
- Inherited Members
Constructors
RTPDrift()
public RTPDrift()
RTPDrift(RTPDrift)
public RTPDrift(RTPDrift other)
Parameters
otherRTPDrift
Fields
ClockRateFieldNumber
Field number for the "clock_rate" field.
public const int ClockRateFieldNumber = 9
Field Value
DriftMsFieldNumber
Field number for the "drift_ms" field.
public const int DriftMsFieldNumber = 8
Field Value
DriftSamplesFieldNumber
Field number for the "drift_samples" field.
public const int DriftSamplesFieldNumber = 7
Field Value
DurationFieldNumber
Field number for the "duration" field.
public const int DurationFieldNumber = 3
Field Value
EndTimeFieldNumber
Field number for the "end_time" field.
public const int EndTimeFieldNumber = 2
Field Value
EndTimestampFieldNumber
Field number for the "end_timestamp" field.
public const int EndTimestampFieldNumber = 5
Field Value
RtpClockTicksFieldNumber
Field number for the "rtp_clock_ticks" field.
public const int RtpClockTicksFieldNumber = 6
Field Value
StartTimeFieldNumber
Field number for the "start_time" field.
public const int StartTimeFieldNumber = 1
Field Value
StartTimestampFieldNumber
Field number for the "start_timestamp" field.
public const int StartTimestampFieldNumber = 4
Field Value
Properties
ClockRate
public double ClockRate { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DriftMs
public double DriftMs { get; set; }
Property Value
DriftSamples
public long DriftSamples { get; set; }
Property Value
Duration
public double Duration { get; set; }
Property Value
EndTime
public Timestamp EndTime { get; set; }
Property Value
- Timestamp
EndTimestamp
public ulong EndTimestamp { get; set; }
Property Value
Parser
public static MessageParser<RTPDrift> Parser { get; }
Property Value
- MessageParser<RTPDrift>
RtpClockTicks
public ulong RtpClockTicks { get; set; }
Property Value
StartTime
public Timestamp StartTime { get; set; }
Property Value
- Timestamp
StartTimestamp
public ulong StartTimestamp { get; set; }
Property Value
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
otherRTPDrift
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(RTPDrift)
Merges the given message into this one.
public void MergeFrom(RTPDrift other)
Parameters
otherRTPDrift
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.