Package org.kurento.client
Class RTCTransportStats
java.lang.Object
org.kurento.client.Stats
org.kurento.client.RTCStats
org.kurento.client.RTCTransportStats
Statistics related to RTC data channels.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default private constructor of RTCTransportStats for serialization with JacksonRTCTransportStats
(String id, StatsType type, long timestampMillis, long bytesSent, long bytesReceived, String rtcpTransportStatsId, boolean activeConnection, String selectedCandidatePairId, String localCertificateId, String remoteCertificateId) Create a RTCTransportStats -
Method Summary
Modifier and TypeMethodDescriptionboolean
get Set to true when transport is active.long
get Represents the total number of bytes received on this PeerConnection, i.e., not including headers or padding.long
get Represents the total number of payload bytes sent on this PeerConnection, i.e., not including headers or padding.get For components where DTLS is negotiated, give local certificate.get For components where DTLS is negotiated, give remote certificate.get If RTP and RTCP are not multiplexed, this is the id of the transport that gives stats for the RTCP component, and this record has only the RTP component stats.get It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidatePairStats associated with this transport.void
setActiveConnection
(boolean activeConnection) set Set to true when transport is active.void
setBytesReceived
(long bytesReceived) set Represents the total number of bytes received on this PeerConnection, i.e., not including headers or padding.void
setBytesSent
(long bytesSent) set Represents the total number of payload bytes sent on this PeerConnection, i.e., not including headers or padding.void
setLocalCertificateId
(String localCertificateId) set For components where DTLS is negotiated, give local certificate.void
setRemoteCertificateId
(String remoteCertificateId) set For components where DTLS is negotiated, give remote certificate.void
setRtcpTransportStatsId
(String rtcpTransportStatsId) set If RTP and RTCP are not multiplexed, this is the id of the transport that gives stats for the RTCP component, and this record has only the RTP component stats.void
setSelectedCandidatePairId
(String selectedCandidatePairId) set It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidatePairStats associated with this transport.Methods inherited from class org.kurento.client.Stats
getId, getTimestampMillis, getType, setId, setTimestampMillis, setType
-
Constructor Details
-
RTCTransportStats
protected RTCTransportStats()Default private constructor of RTCTransportStats for serialization with Jackson -
RTCTransportStats
public RTCTransportStats(String id, StatsType type, long timestampMillis, long bytesSent, long bytesReceived, String rtcpTransportStatsId, boolean activeConnection, String selectedCandidatePairId, String localCertificateId, String remoteCertificateId) Create a RTCTransportStats
-
-
Method Details
-
getBytesSent
public long getBytesSent()get Represents the total number of payload bytes sent on this PeerConnection, i.e., not including headers or padding. -
setBytesSent
public void setBytesSent(long bytesSent) set Represents the total number of payload bytes sent on this PeerConnection, i.e., not including headers or padding. -
getBytesReceived
public long getBytesReceived()get Represents the total number of bytes received on this PeerConnection, i.e., not including headers or padding. -
setBytesReceived
public void setBytesReceived(long bytesReceived) set Represents the total number of bytes received on this PeerConnection, i.e., not including headers or padding. -
getRtcpTransportStatsId
get If RTP and RTCP are not multiplexed, this is the id of the transport that gives stats for the RTCP component, and this record has only the RTP component stats. -
setRtcpTransportStatsId
set If RTP and RTCP are not multiplexed, this is the id of the transport that gives stats for the RTCP component, and this record has only the RTP component stats. -
getActiveConnection
public boolean getActiveConnection()get Set to true when transport is active. -
setActiveConnection
public void setActiveConnection(boolean activeConnection) set Set to true when transport is active. -
getSelectedCandidatePairId
get It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidatePairStats associated with this transport. -
setSelectedCandidatePairId
set It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidatePairStats associated with this transport. -
getLocalCertificateId
get For components where DTLS is negotiated, give local certificate. -
setLocalCertificateId
set For components where DTLS is negotiated, give local certificate. -
getRemoteCertificateId
get For components where DTLS is negotiated, give remote certificate. -
setRemoteCertificateId
set For components where DTLS is negotiated, give remote certificate.
-