public class ExternalCandidateHarvester extends Object implements CandidateHarvester
| Constructor and Description |
|---|
ExternalCandidateHarvester(FoundationsRegistry foundations,
InetAddress externalAddress) |
| Modifier and Type | Method and Description |
|---|---|
CandidateType |
getCandidateType()
Gets the type of candidates gathered by the harvester.
|
void |
harvest(RtpPortManager portManager,
IceMediaStream mediaStream,
Selector selector)
Harvests candidates.
|
public ExternalCandidateHarvester(FoundationsRegistry foundations, InetAddress externalAddress)
public void harvest(RtpPortManager portManager, IceMediaStream mediaStream, Selector selector) throws HarvestException
CandidateHarvesterharvest in interface CandidateHarvesterportManager - Manages the port range allowed for candidate harvesting.mediaStream - The media stream to bind the candidate to.selector - the selector that will be registered to the data channel of
the gathered candidatesHarvestException - When an error occurs during the candidate harvesting process.public CandidateType getCandidateType()
CandidateHarvestergetCandidateType in interface CandidateHarvesterCopyright © 2017 TeleStax, Inc.. All Rights Reserved.