Public Member Functions | |
fm.liveswitch.CandidatePairStats | getActiveCandidatePair () |
Gets the active candidate pair's stats. More... | |
long | getBytesReceived () |
Gets the number of bytes received. More... | |
long | getBytesSent () |
Gets the number of bytes sent. More... | |
fm.liveswitch.CandidatePairStats | getCandidatePair (String candidatePairId) |
Gets a candidate pair by its identifier. More... | |
fm.liveswitch.CandidatePairStats[] | getCandidatePairs () |
Gets the candidate pairs' stats. More... | |
boolean | getIsHost () |
Gets whether the active candidate pair has a host candidate. More... | |
boolean | getIsReflexive () |
Gets whether the active candidate pair has a reflexive candidate. More... | |
boolean | getIsRelayed () |
Gets whether the active candidate pair has a relayed candidate. More... | |
fm.liveswitch.CandidateStats | getLocalCandidate (String candidateId) |
Gets a local candidate by its identifier. More... | |
fm.liveswitch.CandidateStats[] | getLocalCandidates () |
Gets the local candidates' stats. More... | |
fm.liveswitch.CertificateStats | getLocalCertificate () |
Gets the local certificate's stats. More... | |
fm.liveswitch.CandidateStats | getRemoteCandidate (String candidateId) |
Gets a remote candidate by its identifier. More... | |
fm.liveswitch.CandidateStats[] | getRemoteCandidates () |
Gets the remote candidates' stats. More... | |
fm.liveswitch.CertificateStats | getRemoteCertificate () |
Gets the remote certificate's stats. More... | |
fm.liveswitch.TransportStats | getRtcpTransport () |
Gets the RTCP transport's stats. More... | |
void | setActiveCandidatePair (fm.liveswitch.CandidatePairStats value) |
Sets the active candidate pair's stats. More... | |
void | setBytesReceived (long value) |
Sets the number of bytes received. More... | |
void | setBytesSent (long value) |
Sets the number of bytes sent. More... | |
void | setCandidatePairs (fm.liveswitch.CandidatePairStats[] value) |
Sets the candidate pairs' stats. More... | |
void | setLocalCandidates (fm.liveswitch.CandidateStats[] value) |
Sets the local candidates' stats. More... | |
void | setLocalCertificate (fm.liveswitch.CertificateStats value) |
Sets the local certificate's stats. More... | |
void | setRemoteCandidates (fm.liveswitch.CandidateStats[] value) |
Sets the remote candidates' stats. More... | |
void | setRemoteCertificate (fm.liveswitch.CertificateStats value) |
Sets the remote certificate's stats. More... | |
void | setRtcpTransport (fm.liveswitch.TransportStats value) |
Sets the RTCP transport's stats. More... | |
String | toJson () |
Serializes this to JSON. More... | |
TransportStats () | |
Public Member Functions inherited from fm.liveswitch.BaseStats | |
String | getId () |
Gets the identifier of the object generating these stats. More... | |
java.util.Date | getTimestamp () |
Gets the timestamp when these stats were generated. More... | |
Static Public Member Functions | |
static fm.liveswitch.TransportStats | fromJson (String transportJson) |
Derializes transport stats from JSON. More... | |
static String | toJson (fm.liveswitch.TransportStats transport) |
Serializes transport stats to JSON. More... | |
Protected Member Functions | |
void | deserializeProperties (String key, String valueJson) |
Deserializes the properties. More... | |
void | serializeProperties (java.util.HashMap< String, String > jsonObject) |
Serializes the properties. More... | |
Protected Member Functions inherited from fm.liveswitch.BaseStats | |
BaseStats () | |
Transport stats.
fm.liveswitch.TransportStats.TransportStats | ( | ) |
|
protected |
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.BaseStats.
|
static |
Derializes transport stats from JSON.
transportJson | The transport's stats JSON. |
fm.liveswitch.CandidatePairStats fm.liveswitch.TransportStats.getActiveCandidatePair | ( | ) |
Gets the active candidate pair's stats.
long fm.liveswitch.TransportStats.getBytesReceived | ( | ) |
Gets the number of bytes received.
long fm.liveswitch.TransportStats.getBytesSent | ( | ) |
Gets the number of bytes sent.
fm.liveswitch.CandidatePairStats fm.liveswitch.TransportStats.getCandidatePair | ( | String | candidatePairId | ) |
Gets a candidate pair by its identifier.
candidatePairId | The candidate pair identifier. |
fm.liveswitch.CandidatePairStats [] fm.liveswitch.TransportStats.getCandidatePairs | ( | ) |
Gets the candidate pairs' stats.
boolean fm.liveswitch.TransportStats.getIsHost | ( | ) |
Gets whether the active candidate pair has a host candidate.
boolean fm.liveswitch.TransportStats.getIsReflexive | ( | ) |
Gets whether the active candidate pair has a reflexive candidate.
boolean fm.liveswitch.TransportStats.getIsRelayed | ( | ) |
Gets whether the active candidate pair has a relayed candidate.
fm.liveswitch.CandidateStats fm.liveswitch.TransportStats.getLocalCandidate | ( | String | candidateId | ) |
Gets a local candidate by its identifier.
candidateId | The candidate identifier. |
fm.liveswitch.CandidateStats [] fm.liveswitch.TransportStats.getLocalCandidates | ( | ) |
Gets the local candidates' stats.
fm.liveswitch.CertificateStats fm.liveswitch.TransportStats.getLocalCertificate | ( | ) |
Gets the local certificate's stats.
fm.liveswitch.CandidateStats fm.liveswitch.TransportStats.getRemoteCandidate | ( | String | candidateId | ) |
Gets a remote candidate by its identifier.
candidateId | The candidate identifier. |
fm.liveswitch.CandidateStats [] fm.liveswitch.TransportStats.getRemoteCandidates | ( | ) |
Gets the remote candidates' stats.
fm.liveswitch.CertificateStats fm.liveswitch.TransportStats.getRemoteCertificate | ( | ) |
Gets the remote certificate's stats.
fm.liveswitch.TransportStats fm.liveswitch.TransportStats.getRtcpTransport | ( | ) |
Gets the RTCP transport's stats.
|
protected |
Serializes the properties.
jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.BaseStats.
void fm.liveswitch.TransportStats.setActiveCandidatePair | ( | fm.liveswitch.CandidatePairStats | value | ) |
Sets the active candidate pair's stats.
void fm.liveswitch.TransportStats.setBytesReceived | ( | long | value | ) |
Sets the number of bytes received.
void fm.liveswitch.TransportStats.setBytesSent | ( | long | value | ) |
Sets the number of bytes sent.
void fm.liveswitch.TransportStats.setCandidatePairs | ( | fm.liveswitch.CandidatePairStats[] | value | ) |
Sets the candidate pairs' stats.
void fm.liveswitch.TransportStats.setLocalCandidates | ( | fm.liveswitch.CandidateStats[] | value | ) |
Sets the local candidates' stats.
void fm.liveswitch.TransportStats.setLocalCertificate | ( | fm.liveswitch.CertificateStats | value | ) |
Sets the local certificate's stats.
void fm.liveswitch.TransportStats.setRemoteCandidates | ( | fm.liveswitch.CandidateStats[] | value | ) |
Sets the remote candidates' stats.
void fm.liveswitch.TransportStats.setRemoteCertificate | ( | fm.liveswitch.CertificateStats | value | ) |
Sets the remote certificate's stats.
void fm.liveswitch.TransportStats.setRtcpTransport | ( | fm.liveswitch.TransportStats | value | ) |
Sets the RTCP transport's stats.
String fm.liveswitch.TransportStats.toJson | ( | ) |
Serializes this to JSON.
|
static |
Serializes transport stats to JSON.
transport | The transport's stats. |