This callback is optional and will be called to notify the status of async send operations.
Parameters
ice_st
The ICE stream transport.
sent
If value is positive non-zero it indicates the number of data sent. When the value is negative, it contains the error code which can be retrieved by negating the value (i.e. status=-sent).
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
ice_st
The ICE stream transport.
cand
The new local candidate, can be NULL when the last local candidate initialization failed/timeout.
This callback will be called when the ICE transport receives incoming packet from the sockets which is not related to ICE (for example, normal RTP/RTCP packet destined for application).