Package com.twilio.voice
Class IceCandidatePairStats
- java.lang.Object
-
- com.twilio.voice.IceCandidatePairStats
-
public class IceCandidatePairStats extends java.lang.Object
Statistics of ICE candidate pair as defined in Identifiers for WebRTC's Statistics API.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
activeCandidatePair
Identify whether the candidate pair is active.double
availableIncomingBitrate
Available bitrate for all the incoming RTP streams using this candidate pair measured in bits per second (excluding IP TCP/UDP headers).double
availableOutgoingBitrate
Available bitrate for all the outgoing RTP streams using this candidate pair measured in bits per second (excluding IP TCP/UDP headers).long
bytesReceived
Total number of payload bytes received on this candidate pair (excluding headers or padding).long
bytesSent
Total number of payload bytes sent on this candidate pair (excluding headers or padding).long
consentRequestsReceived
Total number of connectivity check retransmissions sent.long
consentRequestsSent
Total number of consent requests received.long
consentResponsesReceived
Total number of consent responses received.long
consentResponsesSent
Total number of consent responses sent.double
currentRoundTripTime
Latest round trip time measured in seconds.java.lang.String
localCandidateId
Unique identifier of the underlying local candidate associated with this candidate pair.java.lang.String
localCandidateIp
IP address of local candidate.boolean
nominated
Whether the nominated flag was updated as per RFC 5245.long
priority
Candidate priorities as per RFC 5245.boolean
readable
Has gotten a valid incoming ICE request.java.lang.String
relayProtocol
Relay protocol.java.lang.String
remoteCandidateId
Unique identifier of the underlying remote candidate associated with this candidate pair.java.lang.String
remoteCandidateIp
IP address of remote candidate.long
requestsReceived
Total number of connectivity check requests received.long
requestsSent
Total number of connectivity check requests sent.long
responsesReceived
Total number of connectivity check responses received.long
retransmissionsReceived
Total number of connectivity check responses sent.long
retransmissionsSent
Total number of connectivity check retransmissions received.IceCandidatePairState
state
State of this candidate pair, seeIceCandidatePairState
.double
totalRoundTripTime
Sum of all round trip time measurements in seconds since the beginning of the session.java.lang.String
transportId
Unique identifier of the underlying candidate pair.boolean
writeable
Has gotten ACK to an ICE request.
-
-
-
Field Detail
-
transportId
@NonNull public final java.lang.String transportId
Unique identifier of the underlying candidate pair.
-
localCandidateId
@NonNull public final java.lang.String localCandidateId
Unique identifier of the underlying local candidate associated with this candidate pair.
-
remoteCandidateId
@NonNull public final java.lang.String remoteCandidateId
Unique identifier of the underlying remote candidate associated with this candidate pair.
-
state
@NonNull public final IceCandidatePairState state
State of this candidate pair, seeIceCandidatePairState
.
-
localCandidateIp
@NonNull public final java.lang.String localCandidateIp
IP address of local candidate.
-
remoteCandidateIp
@NonNull public final java.lang.String remoteCandidateIp
IP address of remote candidate.
-
priority
public final long priority
Candidate priorities as per RFC 5245.
-
nominated
public final boolean nominated
Whether the nominated flag was updated as per RFC 5245.
-
writeable
public final boolean writeable
Has gotten ACK to an ICE request.
-
readable
public final boolean readable
Has gotten a valid incoming ICE request.
-
bytesSent
public final long bytesSent
Total number of payload bytes sent on this candidate pair (excluding headers or padding).
-
bytesReceived
public final long bytesReceived
Total number of payload bytes received on this candidate pair (excluding headers or padding).
-
totalRoundTripTime
public final double totalRoundTripTime
Sum of all round trip time measurements in seconds since the beginning of the session.
-
currentRoundTripTime
public final double currentRoundTripTime
Latest round trip time measured in seconds.
-
availableOutgoingBitrate
public final double availableOutgoingBitrate
Available bitrate for all the outgoing RTP streams using this candidate pair measured in bits per second (excluding IP TCP/UDP headers).
-
availableIncomingBitrate
public final double availableIncomingBitrate
Available bitrate for all the incoming RTP streams using this candidate pair measured in bits per second (excluding IP TCP/UDP headers).
-
requestsReceived
public final long requestsReceived
Total number of connectivity check requests received.
-
requestsSent
public final long requestsSent
Total number of connectivity check requests sent.
-
responsesReceived
public final long responsesReceived
Total number of connectivity check responses received.
-
retransmissionsReceived
public final long retransmissionsReceived
Total number of connectivity check responses sent.
-
retransmissionsSent
public final long retransmissionsSent
Total number of connectivity check retransmissions received.
-
consentRequestsReceived
public final long consentRequestsReceived
Total number of connectivity check retransmissions sent.
-
consentRequestsSent
public final long consentRequestsSent
Total number of consent requests received.
-
consentResponsesReceived
public final long consentResponsesReceived
Total number of consent responses received.
-
consentResponsesSent
public final long consentResponsesSent
Total number of consent responses sent.
-
activeCandidatePair
public final boolean activeCandidatePair
Identify whether the candidate pair is active.
-
relayProtocol
@NonNull public final java.lang.String relayProtocol
Relay protocol.
-
-