Package | Description |
---|---|
org.ice4j.ice | |
org.ice4j.ice.harvest | |
org.ice4j.ice.sdp |
Modifier and Type | Class and Description |
---|---|
class |
GoogleRelayedCandidate
Represents a Candidate obtained by sending a Google TURN Allocate
request from a HostCandidate to a TURN server.
|
class |
HostCandidate
HostCandidates are obtained by binding to a specific port from an
IP address on the host that is running us.
|
class |
PeerReflexiveCandidate
Peer Reflexive Candidates are candidates whose IP address and port are a
binding explicitly allocated by a NAT for an agent when it sent a STUN
Binding request through the NAT to its peer.
|
class |
RelayedCandidate
Represents a Candidate obtained by sending a TURN Allocate request
from a HostCandidate to a TURN server.
|
class |
ServerReflexiveCandidate
ServerReflexiveCandidates are candidates whose IP address and port
are a binding allocated by a NAT for an agent when it sent a packet through
the NAT to a server.
|
class |
TcpHostCandidate
Extends
HostCandidate allowing the instance to have
a list of Sockets instead of just one socket. |
class |
UPNPCandidate
Represents a Candidate obtained via UPnP.
|
Modifier and Type | Field and Description |
---|---|
private LocalCandidate |
Component.defaultCandidate
The default Candidate for this component or in other words, the
candidate that we would have used without ICE.
|
private LocalCandidate |
CandidatePair.localCandidate
The local candidate of this pair.
|
Modifier and Type | Field and Description |
---|---|
private List<LocalCandidate> |
Component.localCandidates
The list locally gathered candidates for this media stream.
|
Modifier and Type | Method and Description |
---|---|
LocalCandidate |
Agent.findLocalCandidate(TransportAddress localAddress)
Returns the local LocalCandidate with the specified
localAddress if it belongs to any of this
Agent 's
streams or null if it doesn't. |
LocalCandidate |
IceMediaStream.findLocalCandidate(TransportAddress localAddress)
Returns the local LocalCandidate with the specified
localAddress if it belongs to any of this stream's components
or null otherwise.
|
LocalCandidate |
Component.findLocalCandidate(TransportAddress localAddress)
Returns the local LocalCandidate with the specified
localAddress if it belongs to this component or null
if it doesn't.
|
LocalCandidate |
Agent.findLocalCandidate(TransportAddress localAddress,
String ufrag)
Returns the local LocalCandidate with the specified
localAddress if it belongs to any of this
Agent 's
streams or null if it doesn't. |
private LocalCandidate |
Component.findRedundant(LocalCandidate cand)
Finds and returns the first candidate that is redundant to cand.
|
protected LocalCandidate |
LocalCandidate.findRelatedCandidate(TransportAddress relatedAddress)
Find the candidate corresponding to the address given in parameter.
|
LocalCandidate |
Component.getDefaultCandidate()
Returns the Candidate that has been selected as the default
for this Component or null if no such
Candidate has been selected yet.
|
LocalCandidate |
CandidatePair.getLocalCandidate()
Returns the LocalCandidate of this CandidatePair.
|
LocalCandidate |
Agent.getSelectedLocalCandidate(String streamName)
Returns the selected local candidate for this Agent.
|
Modifier and Type | Method and Description |
---|---|
List<LocalCandidate> |
Component.getLocalCandidates()
Returns a copy of the list containing all local candidates currently
registered in this component.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Component.addLocalCandidate(LocalCandidate candidate)
Add a local candidate to this component.
|
protected CandidatePair |
Agent.createCandidatePair(LocalCandidate local,
RemoteCandidate remote)
|
private LocalCandidate |
Component.findRedundant(LocalCandidate cand)
Finds and returns the first candidate that is redundant to cand.
|
private void |
Component.free(LocalCandidate localCandidate)
Frees a specific LocalCandidate and swallows any
Throwable it throws while freeing itself in order to prevent its
failure to affect the rest of the execution.
|
String |
Agent.generateLocalUserName(RemoteCandidate remoteCandidate,
LocalCandidate localCandidate)
Returns the user name that this Agent should use in connectivity
checks for outgoing Binding Requests in a Google Talk session.
|
String |
Agent.generateRemoteUserName(RemoteCandidate remoteCandidate,
LocalCandidate localCandidate)
Returns the user name that we should expect a peer Agent to use
in connectivity checks for Binding Requests its sending our way in a
Google Talk session.
|
protected void |
CandidatePair.setLocalCandidate(LocalCandidate localCnd)
Sets the LocalCandidate of this CandidatePair.
|
Constructor and Description |
---|
CandidatePair(LocalCandidate localCandidate,
RemoteCandidate remoteCandidate)
Creates a CandidatePair instance mapping localCandidate
to remoteCandidate.
|
LocalCandidate(TransportAddress transportAddress,
Component parentComponent,
CandidateType type,
CandidateExtendedType extendedType,
LocalCandidate relatedCandidate)
Creates a LocalCandidate instance for the specified transport
address and properties.
|
PeerReflexiveCandidate(TransportAddress transportAddress,
Component parentComponent,
LocalCandidate base,
long priority)
Creates a PeerReflexiveCandidate instance for the specified
transport address and properties.
|
UPNPCandidate(TransportAddress transportAddress,
LocalCandidate base,
Component parentComponent,
org.bitlet.weupnp.GatewayDevice device)
Creates a UPNPCandidate for the specified transport, address,
and base.
|
Modifier and Type | Class and Description |
---|---|
private class |
SinglePortUdpHarvester.MyCandidate
Implements a Candidate for the purposes of this
SinglePortUdpHarvester.
|
Modifier and Type | Field and Description |
---|---|
private static LocalCandidate[] |
StunCandidateHarvest.NO_CANDIDATES
The constant which defines an empty array with LocalCandidate
element type.
|
Modifier and Type | Field and Description |
---|---|
private List<LocalCandidate> |
StunCandidateHarvest.candidates
The list of Candidates harvested for
StunCandidateHarvest.hostCandidate by
this harvest. |
Modifier and Type | Method and Description |
---|---|
(package private) LocalCandidate[] |
StunCandidateHarvest.getCandidates()
Gets the Candidates harvested for
StunCandidateHarvest.hostCandidate during
this harvest. |
Modifier and Type | Method and Description |
---|---|
private List<LocalCandidate> |
TcpHarvester.createLocalCandidates(Component component)
Creates and returns the list of LocalCandidates which are to be
added by this TcpHarvester to a specific
Component.
|
private List<LocalCandidate> |
UPNPHarvester.createUPNPCandidate(IceSocketWrapper socket,
String externalIP,
int port,
Component component,
org.bitlet.weupnp.GatewayDevice device)
Create a UPnP candidate.
|
Collection<LocalCandidate> |
StunCandidateHarvester.harvest(Component component)
Gathers STUN candidates for all host Candidates that are already
present in the specified component.
|
Collection<LocalCandidate> |
SinglePortUdpHarvester.harvest(Component component)
Gathers all candidate addresses of the type that this
CandidateHarvester supports.
|
Collection<LocalCandidate> |
CandidateHarvester.harvest(Component component)
Gathers all candidate addresses of the type that this
CandidateHarvester supports.
|
Collection<LocalCandidate> |
MappingCandidateHarvester.harvest(Component component)
Maps all candidates to this harvester's mask and adds them to
component.
|
Collection<LocalCandidate> |
UPNPHarvester.harvest(Component component)
Gathers UPnP candidates for all host Candidates that are
already present in the specified component.
|
Collection<LocalCandidate> |
TcpHarvester.harvest(Component component)
Gathers all candidate addresses of the type that this
CandidateHarvester supports.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
StunCandidateHarvest.addCandidate(LocalCandidate candidate)
Adds a specific LocalCandidate to the list of
LocalCandidates harvested for
StunCandidateHarvest.hostCandidate by this
harvest. |
protected boolean |
StunCandidateHarvest.containsCandidate(LocalCandidate candidate)
Determines whether a specific LocalCandidate is contained in the
list of LocalCandidates harvested for
StunCandidateHarvest.hostCandidate by
this harvest. |
protected Message |
TurnCandidateHarvest.createKeepAliveMessage(LocalCandidate candidate)
Creates a new STUN Message to be sent to the STUN server
associated with the StunCandidateHarvester of this instance in
order to keep a specific LocalCandidate (harvested by this
instance) alive.
|
protected Message |
StunCandidateHarvest.createKeepAliveMessage(LocalCandidate candidate)
Creates a new STUN Message to be sent to the STUN server
associated with the StunCandidateHarvester of this instance in
order to keep a specific LocalCandidate (harvested by this
instance) alive.
|
protected boolean |
StunCandidateHarvest.sendKeepAliveMessage(LocalCandidate candidate)
Sends a new STUN Message to the STUN server associated with the
StunCandidateHarvester of this instance in order to keep a
specific LocalCandidate alive.
|
Modifier and Type | Method and Description |
---|---|
void |
TrickleCallback.onIceCandidates(Collection<LocalCandidate> iceCandidates)
Notifies the callback that a new batch of LocalCandidates has
been discovered and should be advertised to the remove party.
|
private void |
CandidateHarvesterSetElement.stopHarvestTiming(Collection<LocalCandidate> harvest)
Stops the harvesting timer.
|
protected void |
HarvestStatistics.stopHarvestTiming(Collection<LocalCandidate> harvest)
Stops the harvesting timer.
|
Modifier and Type | Method and Description |
---|---|
static Collection<javax.sdp.Attribute> |
IceSdpUtils.createTrickleUpdate(Collection<LocalCandidate> localCandidates)
Generates and returns a set of attributes that can be used for a trickle
update, such as a SIP INFO, with the specified localCandidates.
|
Copyright © 2018. All rights reserved.