Remote receiver stats.
More...
◆ RemoteReceiverStats()
fm.liveswitch.RemoteReceiverStats.RemoteReceiverStats |
( |
| ) |
|
◆ deserializeProperties()
void fm.liveswitch.RemoteReceiverStats.deserializeProperties |
( |
String |
key, |
|
|
String |
valueJson |
|
) |
| |
|
protected |
Deserializes the properties.
- Parameters
-
key | The key. |
valueJson | The value in JSON format. |
◆ fromJson()
Derializes remote receiver stats from JSON.
- Parameters
-
remoteReceiverJson | The remote receiver's stats JSON. |
◆ fromJsonArray()
Derializes a remote receiver stats array from JSON.
- Parameters
-
remoteReceiversJson | The remote receivers' stats JSON. |
◆ getCumulativeNumberOfPacketsLost()
int fm.liveswitch.RemoteReceiverStats.getCumulativeNumberOfPacketsLost |
( |
| ) |
|
Gets the cumulative number of packets lost.
◆ getDelaySinceLastSenderReport()
long fm.liveswitch.RemoteReceiverStats.getDelaySinceLastSenderReport |
( |
| ) |
|
Gets the delay since last sender report.
◆ getExtendedHighestSequenceNumberReceived()
long fm.liveswitch.RemoteReceiverStats.getExtendedHighestSequenceNumberReceived |
( |
| ) |
|
Gets the extended highest sequence number received.
◆ getFractionLost()
int fm.liveswitch.RemoteReceiverStats.getFractionLost |
( |
| ) |
|
Gets the fraction lost according to RFC 1889.
The value has a range of 0 (no packet loss) to 255 (all packets lost).
◆ getInterarrivalJitter()
long fm.liveswitch.RemoteReceiverStats.getInterarrivalJitter |
( |
| ) |
|
Gets the interarrival jitter.
◆ getLastSenderReportTimestamp()
long fm.liveswitch.RemoteReceiverStats.getLastSenderReportTimestamp |
( |
| ) |
|
Gets the last sender report timestamp.
◆ getPercentLost()
double fm.liveswitch.RemoteReceiverStats.getPercentLost |
( |
| ) |
|
Gets the percentage of lost packets.
The value has a range of 0.0 (no packet loss) to 1.0 (all packets lost).
◆ getSynchronizationSource()
long fm.liveswitch.RemoteReceiverStats.getSynchronizationSource |
( |
| ) |
|
Gets the synchronization source.
◆ isEquivalent()
Checks if a remote receiver is equivalent to this one.
- Parameters
-
instance | The remote receiver. |
◆ serializeProperties()
void fm.liveswitch.RemoteReceiverStats.serializeProperties |
( |
java.util.HashMap< String, String > |
jsonObject | ) |
|
|
protected |
Serializes the properties.
- Parameters
-
jsonObject | The JSON object. |
◆ toJson() [1/2]
String fm.liveswitch.RemoteReceiverStats.toJson |
( |
| ) |
|
◆ toJson() [2/2]
Serializes remote receiver stats to JSON.
- Parameters
-
remoteReceiver | The remote receiver's stats. |
◆ toJsonArray()
Serializes a remote receiver stats array to JSON.
- Parameters
-
remoteReceivers | The remote receivers' stats. |