An RTCP report block. More...
Public Member Functions | |
int | getCumulativeNumberOfPacketsLost () |
Gets the cumulative number of packets lost. More... | |
fm.liveswitch.DataBuffer | getDataBuffer () |
Gets the backing data buffer. More... | |
long | getDelaySinceLastSenderReport () |
Gets the delay since last sender report. More... | |
long | getExtendedHighestSequenceNumberReceived () |
Gets the extended highest sequence number received. More... | |
int | getFractionLost () |
Gets the fraction lost according to RFC 1889. More... | |
long | getInterarrivalJitter () |
Gets the interarrival jitter. More... | |
long | getLastSenderReportTimestamp () |
Gets the last sender report timestamp. More... | |
double | getPercentLost () |
Gets the percentage of lost packets. More... | |
long | getSynchronizationSource () |
Gets the synchronization source. More... | |
ReportBlock () | |
Initializes a new instance of the fm.liveswitch.ReportBlock class. More... | |
ReportBlock (fm.liveswitch.DataBuffer dataBuffer) | |
Initializes a new instance of the fm.liveswitch.ReportBlock class. More... | |
ReportBlock (int fractionLost, int cumulativeNumberOfPacketsLost, long extendedHighestSequenceNumberReceived, long interarrivalJitter, long lastSenderReportTimestamp, long delaySinceLastSenderReport) | |
Initializes a new instance of the fm.liveswitch.ReportBlock class. More... | |
ReportBlock (long synchronizationSource, int fractionLost, int cumulativeNumberOfPacketsLost, long extendedHighestSequenceNumberReceived, long interarrivalJitter, long lastSenderReportTimestamp, long delaySinceLastSenderReport) | |
Initializes a new instance of the fm.liveswitch.ReportBlock class. More... | |
void | setCumulativeNumberOfPacketsLost (int value) |
Sets the cumulative number of packets lost. More... | |
void | setDataBuffer (fm.liveswitch.DataBuffer value) |
Sets the backing data buffer. More... | |
void | setDelaySinceLastSenderReport (long value) |
Sets the delay since last sender report. More... | |
void | setExtendedHighestSequenceNumberReceived (long value) |
Sets the extended highest sequence number received. More... | |
void | setFractionLost (int value) |
Sets the fraction lost according to RFC 1889. More... | |
void | setInterarrivalJitter (long value) |
Sets the interarrival jitter. More... | |
void | setLastSenderReportTimestamp (long value) |
Sets the last sender report timestamp. More... | |
void | setSynchronizationSource (long value) |
Sets the synchronization source. More... | |
String | toString () |
Returns a string that represents this instance. More... | |
Static Public Member Functions | |
static int | getFixedPayloadLength () |
Gets the fixed length of a report block. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from fm.liveswitch.ControlFrameEntry | |
ControlFrameEntry () | |
An RTCP report block.
fm.liveswitch.ReportBlock.ReportBlock | ( | ) |
Initializes a new instance of the fm.liveswitch.ReportBlock class.
fm.liveswitch.ReportBlock.ReportBlock | ( | fm.liveswitch.DataBuffer | dataBuffer | ) |
Initializes a new instance of the fm.liveswitch.ReportBlock class.
dataBuffer | The data buffer. |
fm.liveswitch.ReportBlock.ReportBlock | ( | int | fractionLost, |
int | cumulativeNumberOfPacketsLost, | ||
long | extendedHighestSequenceNumberReceived, | ||
long | interarrivalJitter, | ||
long | lastSenderReportTimestamp, | ||
long | delaySinceLastSenderReport | ||
) |
Initializes a new instance of the fm.liveswitch.ReportBlock class.
fractionLost | The fraction lost. |
cumulativeNumberOfPacketsLost | The cumulative number of packets lost. |
extendedHighestSequenceNumberReceived | The extended highest sequence number received. |
interarrivalJitter | The interarrival jitter. |
lastSenderReportTimestamp | The last sender report timestamp. |
delaySinceLastSenderReport | The delay since last sender report. |
fm.liveswitch.ReportBlock.ReportBlock | ( | long | synchronizationSource, |
int | fractionLost, | ||
int | cumulativeNumberOfPacketsLost, | ||
long | extendedHighestSequenceNumberReceived, | ||
long | interarrivalJitter, | ||
long | lastSenderReportTimestamp, | ||
long | delaySinceLastSenderReport | ||
) |
Initializes a new instance of the fm.liveswitch.ReportBlock class.
synchronizationSource | The synchronization source. |
fractionLost | The fraction lost. |
cumulativeNumberOfPacketsLost | The cumulative number of packets lost. |
extendedHighestSequenceNumberReceived | The extended highest sequence number received. |
interarrivalJitter | The interarrival jitter. |
lastSenderReportTimestamp | The last sender report timestamp. |
delaySinceLastSenderReport | The delay since last sender report. |
int fm.liveswitch.ReportBlock.getCumulativeNumberOfPacketsLost | ( | ) |
Gets the cumulative number of packets lost.
fm.liveswitch.DataBuffer fm.liveswitch.ReportBlock.getDataBuffer | ( | ) |
Gets the backing data buffer.
long fm.liveswitch.ReportBlock.getDelaySinceLastSenderReport | ( | ) |
Gets the delay since last sender report.
long fm.liveswitch.ReportBlock.getExtendedHighestSequenceNumberReceived | ( | ) |
Gets the extended highest sequence number received.
|
static |
Gets the fixed length of a report block.
int fm.liveswitch.ReportBlock.getFractionLost | ( | ) |
Gets the fraction lost according to RFC 1889.
The value has a range of 0 (no packet loss) to 255 (all packets lost).
long fm.liveswitch.ReportBlock.getInterarrivalJitter | ( | ) |
Gets the interarrival jitter.
long fm.liveswitch.ReportBlock.getLastSenderReportTimestamp | ( | ) |
Gets the last sender report timestamp.
double fm.liveswitch.ReportBlock.getPercentLost | ( | ) |
Gets the percentage of lost packets.
The value has a range of 0.0 (no packet loss) to 1.0 (all packets lost).
long fm.liveswitch.ReportBlock.getSynchronizationSource | ( | ) |
Gets the synchronization source.
Reimplemented from fm.liveswitch.ControlFrameEntry.
void fm.liveswitch.ReportBlock.setCumulativeNumberOfPacketsLost | ( | int | value | ) |
Sets the cumulative number of packets lost.
void fm.liveswitch.ReportBlock.setDataBuffer | ( | fm.liveswitch.DataBuffer | value | ) |
Sets the backing data buffer.
void fm.liveswitch.ReportBlock.setDelaySinceLastSenderReport | ( | long | value | ) |
Sets the delay since last sender report.
void fm.liveswitch.ReportBlock.setExtendedHighestSequenceNumberReceived | ( | long | value | ) |
Sets the extended highest sequence number received.
void fm.liveswitch.ReportBlock.setFractionLost | ( | int | value | ) |
Sets the fraction lost according to RFC 1889.
The value has a range of 0 (no packet loss) to 255 (all packets lost).
void fm.liveswitch.ReportBlock.setInterarrivalJitter | ( | long | value | ) |
Sets the interarrival jitter.
void fm.liveswitch.ReportBlock.setLastSenderReportTimestamp | ( | long | value | ) |
Sets the last sender report timestamp.
void fm.liveswitch.ReportBlock.setSynchronizationSource | ( | long | value | ) |
Sets the synchronization source.
Reimplemented from fm.liveswitch.ControlFrameEntry.
String fm.liveswitch.ReportBlock.toString | ( | ) |
Returns a string that represents this instance.