This callback is called after the timer that was scheduled by pj_stun_client_tsx_schedule_destroy() has elapsed. Application should call #pj_stun_client_tsx_destroy() upon receiving this callback.
This callback is called by the STUN transaction when it wants to send outgoing message.
Parameters:
tsx
The STUN transaction instance.
stun_pkt
The STUN packet to be sent.
pkt_size
Size of the STUN packet.
Returns:
If return value of the callback is not PJ_SUCCESS, the transaction will fail. Application MUST return PJNATH_ESTUNDESTROYED if it has destroyed the transaction in this callback.
The documentation for this struct was generated from the following file: