|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lastbamboo.common.ice.candidate.UdpIceCandidateGatherer
public class UdpIceCandidateGatherer
Gathers UDP ICE candidates.
| Constructor Summary | |
|---|---|
UdpIceCandidateGatherer(org.lastbamboo.common.stun.client.StunClient udpStunClient,
boolean controlling,
org.lastbamboo.common.offer.answer.IceMediaStreamDesc desc)
Creates a new class for gathering ICE candidates. |
|
| Method Summary | |
|---|---|
void |
close()
Close any resources associated with the gatherer. |
Collection<IceCandidate> |
gatherCandidates()
Gathers ICE candidates. |
InetAddress |
getPublicAddress()
Accessor for the public address of the machine. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UdpIceCandidateGatherer(org.lastbamboo.common.stun.client.StunClient udpStunClient,
boolean controlling,
org.lastbamboo.common.offer.answer.IceMediaStreamDesc desc)
udpStunClient - The client for connecting to the STUN server. This
will also handle peer reflexive connectivity checks.controlling - Whether or not this is the controlling agent at the
start of processing.desc - The description of the media stream to create.| Method Detail |
|---|
public Collection<IceCandidate> gatherCandidates()
IceCandidateGatherer
gatherCandidates in interface IceCandidateGathererCollection of gathered candidates.public InetAddress getPublicAddress()
IceCandidateGatherer
getPublicAddress in interface IceCandidateGathererpublic void close()
IceCandidateGatherer
close in interface IceCandidateGatherer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||