Ticket #1597 (closed defect: fixed)
Handle socket failure in STUN resolution when coming back from iPhone/iOS background mode
|Reported by:||bennylp||Owned by:||bennylp|
|Backport to 1.x milestone:||Backported:||no|
Normally UDP socket operations will fail with "Broken pipe" or "Socket is not connected" error after the app is woken up from background mode. This has been handled automatically by the ioqueue. However the STUN resolution in PJSUA-LIB does not use ioqueue hence this will cause media transport initialization (and ultimately the call) to fail.