public class JingleNodesHarvester
extends org.ice4j.ice.harvest.AbstractCandidateHarvester
Component
using Jingle Nodes as defined in
XEP 278 "Jingle Relay Nodes".Constructor and Description |
---|
JingleNodesHarvester(org.xmpp.jnodes.smack.SmackServiceNode serviceNode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected JingleNodesCandidate |
createJingleNodesCandidate(org.ice4j.TransportAddress transportAddress,
org.ice4j.ice.Component component,
org.ice4j.TransportAddress localEndPoint)
Creates a new JingleNodesRelayedCandidate instance which is to
represent a specific TransportAddress.
|
java.util.Collection<org.ice4j.ice.LocalCandidate> |
harvest(org.ice4j.ice.Component component)
Gathers Jingle Nodes candidates for all host Candidates that are
already present in the specified component.
|
public JingleNodesHarvester(org.xmpp.jnodes.smack.SmackServiceNode serviceNode)
serviceNode
- the SmackServiceNodepublic java.util.Collection<org.ice4j.ice.LocalCandidate> harvest(org.ice4j.ice.Component component)
component
- the Component
that we'd like to gather candidate
Jingle Nodes Candidates forprotected JingleNodesCandidate createJingleNodesCandidate(org.ice4j.TransportAddress transportAddress, org.ice4j.ice.Component component, org.ice4j.TransportAddress localEndPoint)
transportAddress
- the TransportAddress allocated by the
relaycomponent
- the Component for which the candidate will be
addedlocalEndPoint
- TransportAddress of the Jingle Nodes relay
where we will send our packet.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.