Ticket #1597 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Handle socket failure in STUN resolution when coming back from iPhone/iOS background mode

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

Description

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.

Change History

comment:1 Changed 4 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed

In 4304:

Fixed #1597: Handle socket failure in STUN resolution when coming back from iPhone/iOS background mode

Note: See TracTickets for help on using tickets.