This callback will be called when ICE negotiation completes, with application user data. Note that if both callbacks are implemented, only this callback will be invoked.
Callback to report a new ICE local candidate, e.g: after successful STUN Binding, after a successful TURN allocation. Only new candidates whose type is server reflexive or relayed will be notified via this callback. This callback also indicates end-of-candidate via parameter 'last'.
Trickle ICE can use this callback to convey the new candidate to remote agent and monitor end-of-candidate indication.
Parameters
tp
PJMEDIA ICE transport.
cand
The new local candidate, can be NULL when the last local candidate initialization failed/timeout.
last
PJ_TRUE if this is the last of local candidate.
The documentation for this struct was generated from the following file: