on_stun_resolution_complete property

pj_stun_resolve_cb on_stun_resolution_complete
getter/setter pair

Calling #pjsua_init() will initiate an async process to resolve and contact each of the STUN server entries to find which is usable. This callback is called when the process is complete, and can be used by the application to start creating and registering accounts. This way, the accounts can avoid call setup delay caused by pending STUN resolution.

See also #pj_stun_resolve_cb.

Implementation

external pj_stun_resolve_cb on_stun_resolution_complete;