Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1174 closed defect (fixed)

Fix crash in coreaudio_dev's interruptionListener (iPhone OS) and support for multiple interrupted streams (thanks to Seth Hinze for the patch)

Reported by: ming Owned by: nanang
Priority: normal Milestone: release-1.10
Component: pjmedia-audiodev Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by ming)

Crash in coreaudio_dev when VoIP call is hung up during an interruption event. This is related to ticket #1172.

The fix also adds support if there are more than one active streams that are interrupted.

Change History (8)

comment:1 Changed 13 years ago by ming

  • Milestone changed from release-2.0 to release-1.10

comment:2 Changed 13 years ago by ming

The crash happened when user sets their own interruption listener and terminates the call within the listener.

comment:3 Changed 13 years ago by ming

  • Description modified (diff)
  • Summary changed from Crash in coreaudio_dev's interruptionListener (iPhone OS) to Fix crash in coreaudio_dev's interruptionListener (iPhone OS) and support for multiple interrupted streams.

comment:4 Changed 13 years ago by ming

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

(In [3398]) Fixed #1174, #1191, #1192

comment:5 Changed 13 years ago by ming

(In [3400]) Re #1174:
Fixed AudioSession? services error handling in factory initialization.

comment:6 Changed 13 years ago by ming

  • Summary changed from Fix crash in coreaudio_dev's interruptionListener (iPhone OS) and support for multiple interrupted streams. to Fix crash in coreaudio_dev's interruptionListener (iPhone OS) and support for multiple interrupted streams (thanks to Seth Hinze for the patch)

comment:7 Changed 13 years ago by ming

(In [3413]) Re #1174: fixed crash when pjsua is restarted, causing inClientData to be invalid since AudioSessionInitialize? can only be called once.
Re #1175: cleaning up interruption and audio route handling in coreaudio for iOS. In the case of interruption, there is no need to reinstantiate the audio unit (a simple restart will do), while for audio route change, nothing needs to be done.

comment:8 Changed 13 years ago by bennylp

(In [3422]) Re #1174 (coreaudio_dev work): minor changes to replace "Error" message with "Warning" for non-fatal errors

Note: See TracTickets for help on using tickets.