Class FirEntry
An RTCP full intra request (FIR) packet entry.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class FirEntry : ControlFrameEntry
Constructors
FirEntry(DataBuffer)
Initializes a new instance of the FirEntry class.
Declaration
public FirEntry(DataBuffer dataBuffer)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | dataBuffer | The data buffer. |
FirEntry(Int32)
Initializes a new instance of the FirEntry class.
Declaration
public FirEntry(int sequenceNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | sequenceNumber | The sequence number. |
Properties
DataBuffer
Gets or sets the backing data buffer.
Declaration
public DataBuffer DataBuffer { get; set; }
Property Value
Type | Description |
---|---|
DataBuffer |
FixedPayloadLength
Gets or sets the fixed length of an FIR entry.
Declaration
public static int FixedPayloadLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
SequenceNumber
Gets or sets the sequence number.
Declaration
public int SequenceNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SynchronizationSource
Gets or sets the synchronization source.
Declaration
public override long SynchronizationSource { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Overrides
Methods
GetSequenceNumberDelta(Int32, Int32)
Gets the delta between sequence numbers, adjusted for overflow.
Declaration
public static int GetSequenceNumberDelta(int sequenceNumber, int lastSequenceNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | sequenceNumber | The current sequence number. |
System.Int32 | lastSequenceNumber | The last sequence number. |
Returns
Type | Description |
---|---|
System.Int32 |