Class ReportBlock
An RTCP report block.
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ReportBlock : ControlFrameEntry
Constructors
ReportBlock()
Initializes a new instance of the ReportBlock class.
Declaration
public ReportBlock()
ReportBlock(DataBuffer)
Initializes a new instance of the ReportBlock class.
Declaration
public ReportBlock(DataBuffer dataBuffer)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | dataBuffer | The data buffer. |
ReportBlock(Int32, Int32, Int64, Int64, Int64, Int64)
Initializes a new instance of the ReportBlock class.
Declaration
public ReportBlock(int fractionLost, int cumulativeNumberOfPacketsLost, long extendedHighestSequenceNumberReceived, long interarrivalJitter, long lastSenderReportTimestamp, long delaySinceLastSenderReport)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | fractionLost | The fraction lost. |
System.Int32 | cumulativeNumberOfPacketsLost | The cumulative number of packets lost. |
System.Int64 | extendedHighestSequenceNumberReceived | The extended highest sequence number received. |
System.Int64 | interarrivalJitter | The interarrival jitter. |
System.Int64 | lastSenderReportTimestamp | The last sender report timestamp. |
System.Int64 | delaySinceLastSenderReport | The delay since last sender report. |
ReportBlock(Int64, Int32, Int32, Int64, Int64, Int64, Int64)
Initializes a new instance of the ReportBlock class.
Declaration
public ReportBlock(long synchronizationSource, int fractionLost, int cumulativeNumberOfPacketsLost, long extendedHighestSequenceNumberReceived, long interarrivalJitter, long lastSenderReportTimestamp, long delaySinceLastSenderReport)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | synchronizationSource | The synchronization source. |
System.Int32 | fractionLost | The fraction lost. |
System.Int32 | cumulativeNumberOfPacketsLost | The cumulative number of packets lost. |
System.Int64 | extendedHighestSequenceNumberReceived | The extended highest sequence number received. |
System.Int64 | interarrivalJitter | The interarrival jitter. |
System.Int64 | lastSenderReportTimestamp | The last sender report timestamp. |
System.Int64 | delaySinceLastSenderReport | The delay since last sender report. |
Properties
CumulativeNumberOfPacketsLost
Gets or sets the cumulative number of packets lost.
Declaration
public int CumulativeNumberOfPacketsLost { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DataBuffer
Gets or sets the backing data buffer.
Declaration
public DataBuffer DataBuffer { get; set; }
Property Value
Type | Description |
---|---|
DataBuffer |
DelaySinceLastSenderReport
Gets or sets the delay since last sender report.
Declaration
public long DelaySinceLastSenderReport { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
ExtendedHighestSequenceNumberReceived
Gets or sets the extended highest sequence number received.
Declaration
public long ExtendedHighestSequenceNumberReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
FixedPayloadLength
Gets or sets the fixed length of a report block.
Declaration
public static int FixedPayloadLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
FractionLost
Gets or sets the fraction lost according to RFC 1889. The value has a range of 0 (no packet loss) to 255 (all packets lost).
Declaration
public int FractionLost { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
InterarrivalJitter
Gets or sets the interarrival jitter.
Declaration
public long InterarrivalJitter { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
LastSenderReportTimestamp
Gets or sets the last sender report timestamp.
Declaration
public long LastSenderReportTimestamp { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
PercentLost
Gets or sets the percentage of lost packets. The value has a range of 0.0 (no packet loss) to 1.0 (all packets lost).
Declaration
public double PercentLost { get; }
Property Value
Type | Description |
---|---|
System.Double |
SynchronizationSource
Gets or sets the synchronization source.
Declaration
public override long SynchronizationSource { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Overrides
Methods
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |