id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,backport_to_milestone,backported 1865,Main thread blocked by NAT type detection in library start,nanang,bennylp,"Currently {{{pjsua_start()}}} will automatically start NAT type detection, it may block the application UI/main thread (the thread calling {{{pjsua_start()}}}, usually it is the UI/main thread), when the configured STUN server is down. So, let's just perform NAT type detection only after STUN server resolution is succeeded. Also, make the library starting NAT type detection only when {{{pjsua_config.nat_type_in_sdp}}} is set to non-zero. ",enhancement,closed,normal,release-2.4.5,pjsua-lib,trunk,fixed,,,,0