public class RTCIceCandidatePairStats extends RTCStats
Modifier | Constructor and Description |
---|---|
protected |
RTCIceCandidatePairStats()
Default private constructor of RTCIceCandidatePairStats for serialization with Jackson
|
|
RTCIceCandidatePairStats(String id,
StatsType type,
double timestamp,
long timestampMillis,
String transportId,
String localCandidateId,
String remoteCandidateId,
RTCStatsIceCandidatePairState state,
long priority,
boolean nominated,
boolean writable,
boolean readable,
long bytesSent,
long bytesReceived,
double roundTripTime,
double availableOutgoingBitrate,
double availableIncomingBitrate)
Create a RTCIceCandidatePairStats
|
Modifier and Type | Method and Description |
---|---|
double |
getAvailableIncomingBitrate()
get Measured in Bits per second, and is implementation dependent.
|
double |
getAvailableOutgoingBitrate()
get Measured in Bits per second, and is implementation dependent.
|
long |
getBytesReceived()
get Represents the total number of payload bytes received on this candidate pair, i.e., not including headers or padding.
|
long |
getBytesSent()
get Represents the total number of payload bytes sent on this candidate pair, i.e., not including headers or padding.
|
String |
getLocalCandidateId()
get It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidateAttributes for the local candidate associated with this candidate pair.
|
boolean |
getNominated()
get Related to updating the nominated flag described in Section 7.1.3.2.4 of [RFC5245].
|
long |
getPriority()
get Calculated from candidate priorities as defined in [RFC5245] section 5.7.2.
|
boolean |
getReadable()
get Has gotten a valid incoming ICE request.
|
String |
getRemoteCandidateId()
get It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidateAttributes for the remote candidate associated with this candidate pair.
|
double |
getRoundTripTime()
get Represents the RTT computed by the STUN connectivity checks
|
RTCStatsIceCandidatePairState |
getState()
get Represents the state of the checklist for the local and remote candidates in a pair.
|
String |
getTransportId()
get It is a unique identifier that is associated to the object that was inspected to produce the RTCTransportStats associated with this candidate pair.
|
boolean |
getWritable()
get Has gotten ACK to an ICE request.
|
void |
setAvailableIncomingBitrate(double availableIncomingBitrate)
set Measured in Bits per second, and is implementation dependent.
|
void |
setAvailableOutgoingBitrate(double availableOutgoingBitrate)
set Measured in Bits per second, and is implementation dependent.
|
void |
setBytesReceived(long bytesReceived)
set Represents the total number of payload bytes received on this candidate pair, i.e., not including headers or padding.
|
void |
setBytesSent(long bytesSent)
set Represents the total number of payload bytes sent on this candidate pair, i.e., not including headers or padding.
|
void |
setLocalCandidateId(String localCandidateId)
set It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidateAttributes for the local candidate associated with this candidate pair.
|
void |
setNominated(boolean nominated)
set Related to updating the nominated flag described in Section 7.1.3.2.4 of [RFC5245].
|
void |
setPriority(long priority)
set Calculated from candidate priorities as defined in [RFC5245] section 5.7.2.
|
void |
setReadable(boolean readable)
set Has gotten a valid incoming ICE request.
|
void |
setRemoteCandidateId(String remoteCandidateId)
set It is a unique identifier that is associated to the object that was inspected to produce the RTCIceCandidateAttributes for the remote candidate associated with this candidate pair.
|
void |
setRoundTripTime(double roundTripTime)
set Represents the RTT computed by the STUN connectivity checks
|
void |
setState(RTCStatsIceCandidatePairState state)
set Represents the state of the checklist for the local and remote candidates in a pair.
|
void |
setTransportId(String transportId)
set It is a unique identifier that is associated to the object that was inspected to produce the RTCTransportStats associated with this candidate pair.
|
void |
setWritable(boolean writable)
set Has gotten ACK to an ICE request.
|
getId, getTimestamp, getTimestampMillis, getType, setId, setTimestamp, setTimestampMillis, setType
protected RTCIceCandidatePairStats()
public RTCIceCandidatePairStats(String id, StatsType type, double timestamp, long timestampMillis, String transportId, String localCandidateId, String remoteCandidateId, RTCStatsIceCandidatePairState state, long priority, boolean nominated, boolean writable, boolean readable, long bytesSent, long bytesReceived, double roundTripTime, double availableOutgoingBitrate, double availableIncomingBitrate)
public String getTransportId()
public void setTransportId(String transportId)
public String getLocalCandidateId()
public void setLocalCandidateId(String localCandidateId)
public String getRemoteCandidateId()
public void setRemoteCandidateId(String remoteCandidateId)
public RTCStatsIceCandidatePairState getState()
public void setState(RTCStatsIceCandidatePairState state)
public long getPriority()
public void setPriority(long priority)
public boolean getNominated()
public void setNominated(boolean nominated)
public boolean getWritable()
public void setWritable(boolean writable)
public boolean getReadable()
public void setReadable(boolean readable)
public long getBytesSent()
public void setBytesSent(long bytesSent)
public long getBytesReceived()
public void setBytesReceived(long bytesReceived)
public double getRoundTripTime()
public void setRoundTripTime(double roundTripTime)
public double getAvailableOutgoingBitrate()
public void setAvailableOutgoingBitrate(double availableOutgoingBitrate)
public double getAvailableIncomingBitrate()
public void setAvailableIncomingBitrate(double availableIncomingBitrate)
Copyright © 2022 Kurento. All rights reserved.