Opened 9 years ago

Last modified 9 years ago

#1865 closed enhancement

Main thread blocked by NAT type detection in library start — at Initial Version

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.4.5
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.