Package tel.schich.libdatachannel
Class CandidatePair
java.lang.Object
tel.schich.libdatachannel.CandidatePair
The candidate pair ICE selected, as the candidate lines the native library reports them.
The remote side is where traffic actually arrives from, which behind a NAT is usually a peer reflexive candidate the remote description never carried. For a pair that is not relayed, libjuice sends from one socket and does not track which local candidate it used, so the local side is the first candidate it gathered.
-
Method Details
-
localCandidate
- Returns:
- the local candidate line, as
candidate:...
-
remoteCandidate
- Returns:
- the remote candidate line, as
candidate:...
-
local
- Returns:
- the local candidate's address, or null if the line cannot be read; only an mDNS name is left unresolved
-
remote
- Returns:
- the remote candidate's address, or null if the line cannot be read; only an mDNS name is left unresolved
-
localType
- Returns:
- the local candidate's type,
host,srflx,prflxorrelay, or null if the line cannot be read
-
remoteType
- Returns:
- the remote candidate's type,
host,srflx,prflxorrelay, or null if the line cannot be read
-
localTransport
- Returns:
- the local candidate's transport in lower case, usually
udportcp, or null if the line cannot be read
-
remoteTransport
- Returns:
- the remote candidate's transport in lower case, usually
udportcp, or null if the line cannot be read
-