Package org.kurento.client
Class RTCTransportStats
- java.lang.Object
-
- org.kurento.client.Stats
-
- org.kurento.client.RTCStats
-
- org.kurento.client.RTCTransportStats
-
public class RTCTransportStats extends RTCStats
Statistics related to RTC data channels.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RTCTransportStats()
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getActiveConnection()
get Set to true when transport is active.long
getBytesReceived()
get Represents the total number of bytes received on this PeerConnection, i.e., not including headers or padding.long
getBytesSent()
get Represents the total number of payload bytes sent on this PeerConnection, i.e., not including headers or padding.String
getLocalCertificateId()
get For components where DTLS is negotiated, give local certificate.String
getRemoteCertificateId()
get For components where DTLS is negotiated, give remote certificate.String
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.String
getSelectedCandidatePairId()
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
-
-
-
-
Method Detail
-
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
public String 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
public 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.
-
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
public String 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
public 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.
-
getLocalCertificateId
public String getLocalCertificateId()
get For components where DTLS is negotiated, give local certificate.
-
setLocalCertificateId
public void setLocalCertificateId(String localCertificateId)
set For components where DTLS is negotiated, give local certificate.
-
getRemoteCertificateId
public String getRemoteCertificateId()
get For components where DTLS is negotiated, give remote certificate.
-
setRemoteCertificateId
public void setRemoteCertificateId(String remoteCertificateId)
set For components where DTLS is negotiated, give remote certificate.
-
-