Class ReportBlock
An RTCP report block.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ReportBlock : ControlFrameEntry
Constructors
ReportBlock()
Initializes a new instance of the Report
Declaration
public ReportBlock()
ReportBlock(DataBuffer)
Initializes a new instance of the Report
Declaration
public ReportBlock(DataBuffer dataBuffer)
Parameters
Type | Name | Description |
---|---|---|
Data |
dataBuffer | The data buffer. |
ReportBlock(Int32, Int32, Int64, Int64, Int64, Int64)
Initializes a new instance of the Report
Declaration
public ReportBlock(int fractionLost, int cumulativeNumberOfPacketsLost, long extendedHighestSequenceNumberReceived, long interarrivalJitter, long lastSenderReportTimestamp, long delaySinceLastSenderReport)
Parameters
Type | Name | Description |
---|---|---|
System. |
fractionLost | The fraction lost. |
System. |
cumulativeNumberOfPacketsLost | The cumulative number of packets lost. |
System. |
extendedHighestSequenceNumberReceived | The extended highest sequence number received. |
System. |
interarrivalJitter | The interarrival jitter. |
System. |
lastSenderReportTimestamp | The last sender report timestamp. |
System. |
delaySinceLastSenderReport | The delay since last sender report. |
ReportBlock(Int64, Int32, Int32, Int64, Int64, Int64, Int64)
Initializes a new instance of the Report
Declaration
public ReportBlock(long synchronizationSource, int fractionLost, int cumulativeNumberOfPacketsLost, long extendedHighestSequenceNumberReceived, long interarrivalJitter, long lastSenderReportTimestamp, long delaySinceLastSenderReport)
Parameters
Type | Name | Description |
---|---|---|
System. |
synchronizationSource | The synchronization source. |
System. |
fractionLost | The fraction lost. |
System. |
cumulativeNumberOfPacketsLost | The cumulative number of packets lost. |
System. |
extendedHighestSequenceNumberReceived | The extended highest sequence number received. |
System. |
interarrivalJitter | The interarrival jitter. |
System. |
lastSenderReportTimestamp | The last sender report timestamp. |
System. |
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. |
DataBuffer
Gets or sets the backing data buffer.
Declaration
public DataBuffer DataBuffer { get; set; }
Property Value
Type | Description |
---|---|
Data |
DelaySinceLastSenderReport
Gets or sets the delay since last sender report.
Declaration
public long DelaySinceLastSenderReport { get; set; }
Property Value
Type | Description |
---|---|
System. |
ExtendedHighestSequenceNumberReceived
Gets or sets the extended highest sequence number received.
Declaration
public long ExtendedHighestSequenceNumberReceived { get; set; }
Property Value
Type | Description |
---|---|
System. |
FixedPayloadLength
Gets or sets the fixed length of a report block.
Declaration
public static int FixedPayloadLength { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
InterarrivalJitter
Gets or sets the interarrival jitter.
Declaration
public long InterarrivalJitter { get; set; }
Property Value
Type | Description |
---|---|
System. |
LastSenderReportTimestamp
Gets or sets the last sender report timestamp.
Declaration
public long LastSenderReportTimestamp { get; set; }
Property Value
Type | Description |
---|---|
System. |
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. |
SynchronizationSource
Gets or sets the synchronization source.
Declaration
public override long SynchronizationSource { get; set; }
Property Value
Type | Description |
---|---|
System. |
Overrides
Methods
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |