public static final class TransportNegotiator.Ice extends TransportNegotiator
TransportNegotiator.Ice, TransportNegotiator.RawUdp
CANDIDATES_ACCEPT_PERIOD
session
Constructor and Description |
---|
Ice(JingleSession js,
TransportResolver res,
ContentNegotiator parentNegotiator)
Default constructor, with a JingleSession and transport manager.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptableTransportCandidate(TransportCandidate tc,
List<TransportCandidate> localCandidates)
Return true for ICE candidates.
|
TransportCandidate |
getBestRemoteCandidate()
Obtain the best remote candidate obtained in the negotiation so far.
|
JingleTransport |
getJingleTransport(TransportCandidate candidate)
Get a TransportNegotiator instance.
|
close, dispatchIncomingPacket, doStart, getAcceptedLocalCandidate, getBestLocalCandidate, getJingleTransport, getOfferedCandidates, getValidRemoteCandidates, isFullyEstablished
addExpectedId, addListener, getConnection, getListenersList, getNegotiatorState, getSession, isExpectedId, isStarted, removeExpectedId, removeListener, setNegotiatorState, setSession, start
public Ice(JingleSession js, TransportResolver res, ContentNegotiator parentNegotiator)
js
- The Jingle session this negotiation belongs to.res
- The transport manager to use.public JingleTransport getJingleTransport(TransportCandidate candidate)
getJingleTransport
in class TransportNegotiator
candidate
- public TransportCandidate getBestRemoteCandidate()
getBestRemoteCandidate
in class TransportNegotiator
public boolean acceptableTransportCandidate(TransportCandidate tc, List<TransportCandidate> localCandidates)
acceptableTransportCandidate
in class TransportNegotiator