-
- All Implemented Interfaces:
public interface TrickleCallbackWe use this callback to feed candidates to ice4j user applications that support trickle ICE. The interface provides two methods that allow passing candidates to applications either one-by-one or in batches. The former would typically be used for harvesters such as STUN, where candidates are learned one per message. Discovering batches of candidates is possible when querying a TURN server, which in many cases would return both server reflexive (STUN) and relayed (TURN) candidates.
-
-
Method Summary
Modifier and Type Method Description abstract voidonIceCandidates(Collection<LocalCandidate> iceCandidates)Notifies the callback that a new batch of LocalCandidates has been discovered and should be advertised to the remove party. -
-
Method Detail
-
onIceCandidates
abstract void onIceCandidates(Collection<LocalCandidate> iceCandidates)
Notifies the callback that a new batch of LocalCandidates has been discovered and should be advertised to the remove party.
- Parameters:
iceCandidates- the newly discovered list of candidates or, similarly to WebRTC, null in case all candidate harvesting is now completed.
-
-
-
-