Class IceCandidatePairStats

java.lang.Object
com.twilio.voice.IceCandidatePairStats

public class IceCandidatePairStats extends Object
Statistics of ICE candidate pair as defined in Identifiers for WebRTC's Statistics API.
  • Field Details

    • transportId

      @NonNull public final String transportId
      Unique identifier of the underlying candidate pair.
    • localCandidateId

      @NonNull public final String localCandidateId
      Unique identifier of the underlying local candidate associated with this candidate pair.
    • remoteCandidateId

      @NonNull public final 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, see IceCandidatePairState.
    • localCandidateIp

      @NonNull public final String localCandidateIp
      IP address of local candidate.
    • remoteCandidateIp

      @NonNull public final 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.
    • responsesSent

      public final long responsesSent
      Total number of connectivity check responses sent.
    • retransmissionsReceived

      public final long retransmissionsReceived
      Total number of connectivity check retransmissions received.
    • retransmissionsSent

      public final long retransmissionsSent
      Total number of connectivity check retransmissions received.
    • consentRequestsReceived

      public final long consentRequestsReceived
      Total number of consent requests received.
    • 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 String relayProtocol
      Relay protocol.