Package com.twilio.video
Class IceCandidateStats
- java.lang.Object
-
- com.twilio.video.IceCandidateStats
-
public class IceCandidateStats extends java.lang.ObjectStatistics of ICE candidate as defined in Identifiers for WebRTC's Statistics API
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringcandidateTypeCandidate type.booleandeletedThe candidate is no longer active.java.lang.StringipIP address of the candidate.booleanisRemoteTrue indicates remote candidate and false indicates local candidate.intportPort number of the candidate.intpriorityPriority as defined in RFC 5245.java.lang.StringprotocolTransport of the candidate, valid values are udp or tcp.java.lang.StringtransportIdUnique identifier of the underlying candidate.java.lang.StringurlThe URL of the TURN or STUN server.
-
Constructor Summary
Constructors Constructor Description IceCandidateStats(java.lang.String transportId, boolean isRemote, java.lang.String ip, int port, java.lang.String protocol, java.lang.String candidateType, int priority, java.lang.String url, boolean deleted)
-
-
-
Field Detail
-
transportId
@NonNull public final java.lang.String transportId
Unique identifier of the underlying candidate.
-
isRemote
public final boolean isRemote
True indicates remote candidate and false indicates local candidate.
-
ip
@NonNull public final java.lang.String ip
IP address of the candidate.
-
port
public final int port
Port number of the candidate.
-
protocol
@NonNull public final java.lang.String protocol
Transport of the candidate, valid values are udp or tcp.
-
candidateType
@NonNull public final java.lang.String candidateType
Candidate type. It can be host (host candidate), srflx (server reflexive candidate), prflx (peer reflexive candidate) and relay (relay candidate).
-
priority
public final int priority
Priority as defined in RFC 5245.
-
url
@Nullable public final java.lang.String url
The URL of the TURN or STUN server.
-
deleted
public final boolean deleted
The candidate is no longer active.
-
-