Opened 11 years ago

Closed 11 years ago

#1597 closed defect (fixed)

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 (1)

comment:1 Changed 11 years ago by bennylp

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

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.