Class TransportCCControlFrame
An RTCP transport-wide congestion control (transport-cc) packet.
Inheritance
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class TransportCCControlFrame : RtpControlFrame
Constructors
TransportCCControlFrame(DataBuffer)
Initializes a new instance of the TransportCCControlFrame class.
Declaration
public TransportCCControlFrame(DataBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | buffer | The buffer. |
TransportCCControlFrame(Int32, Int32, Int32, Int32, TransportCCPacketStatusChunk[], Int32[])
Initializes a new instance of the TransportCCControlFrame class.
Declaration
public TransportCCControlFrame(int baseSequenceNumber, int packetStatusCount, int referenceTime, int feedbackPacketCount, TransportCCPacketStatusChunk[] packetStatusChunks, int[] receiveDeltas)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | baseSequenceNumber | |
System.Int32 | packetStatusCount | |
System.Int32 | referenceTime | |
System.Int32 | feedbackPacketCount | |
TransportCCPacketStatusChunk[] | packetStatusChunks | |
System.Int32[] | receiveDeltas |
Properties
BaseSequenceNumber
Gets the base sequence number.
Declaration
public int BaseSequenceNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
FeedbackPacketCount
Gets the feedback packet count.
Declaration
public int FeedbackPacketCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PacketStatusChunks
Gets the packet status chunks.
Declaration
public TransportCCPacketStatusChunk[] PacketStatusChunks { get; }
Property Value
Type | Description |
---|---|
TransportCCPacketStatusChunk[] |
PacketStatusCount
Gets the packet status count.
Declaration
public int PacketStatusCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ReceiveDeltas
Gets the receive deltas.
Declaration
public int[] ReceiveDeltas { get; }
Property Value
Type | Description |
---|---|
System.Int32[] |
ReceiveDeltasInMillis
Gets the receive deltas in milliseconds.
Declaration
public double[] ReceiveDeltasInMillis { get; }
Property Value
Type | Description |
---|---|
System.Double[] |
ReceiveDeltasInTicks
Gets the receive deltas in ticks.
Declaration
public int[] ReceiveDeltasInTicks { get; }
Property Value
Type | Description |
---|---|
System.Int32[] |
ReferenceTime
Gets the reference time.
Declaration
public int ReferenceTime { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ReferenceTimeInMillis
Gets the reference time in milliseconds.
Declaration
public int ReferenceTimeInMillis { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ReferenceTimeInTicks
Gets the reference time in ticks.
Declaration
public int ReferenceTimeInTicks { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
RegisteredFeedbackMessageType
Gets the type of the transport-wide congestion control message.
Declaration
public static int RegisteredFeedbackMessageType { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
ReceiveDeltaInMillis(Int32)
Gets a receive delta in milliseconds.
Declaration
public static double ReceiveDeltaInMillis(int receiveDelta)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | receiveDelta | The receive delta. |
Returns
Type | Description |
---|---|
System.Double | The receive delta in milliseconds. |
ReceiveDeltaInTicks(Int32)
Gets a receive delta in ticks.
Declaration
public static int ReceiveDeltaInTicks(int receiveDelta)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | receiveDelta | The receive delta. |
Returns
Type | Description |
---|---|
System.Int32 | The receive delta in ticks. |
ToString()
Returns a string representation of this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |