public class RTCTransportStats extends RTCStats
Modifier | Constructor and Description |
---|---|
protected |
RTCTransportStats()
Default private constructor of RTCTransportStats for serialization with Jackson
|
|
RTCTransportStats(String id,
StatsType type,
double timestamp,
long timestampMillis,
long bytesSent,
long bytesReceived,
String rtcpTransportStatsId,
boolean activeConnection,
String selectedCandidatePairId,
String localCertificateId,
String remoteCertificateId)
Create a RTCTransportStats
|
Modifier and Type | Method and 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.
|
getId, getTimestamp, getTimestampMillis, getType, setId, setTimestamp, setTimestampMillis, setType
protected RTCTransportStats()
public RTCTransportStats(String id, StatsType type, double timestamp, long timestampMillis, long bytesSent, long bytesReceived, String rtcpTransportStatsId, boolean activeConnection, String selectedCandidatePairId, String localCertificateId, String remoteCertificateId)
public long getBytesSent()
public void setBytesSent(long bytesSent)
public long getBytesReceived()
public void setBytesReceived(long bytesReceived)
public String getRtcpTransportStatsId()
public void setRtcpTransportStatsId(String rtcpTransportStatsId)
public boolean getActiveConnection()
public void setActiveConnection(boolean activeConnection)
public String getSelectedCandidatePairId()
public void setSelectedCandidatePairId(String selectedCandidatePairId)
public String getLocalCertificateId()
public void setLocalCertificateId(String localCertificateId)
public String getRemoteCertificateId()
public void setRemoteCertificateId(String remoteCertificateId)
Copyright © 2019 Kurento. All rights reserved.