Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#1697 closed task (fixed)

Add support for iOS SDK 7 & iOS 7 — at Version 11

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.2
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by ming)

This ticket will add support with regard to changes in iOS SDK 7 and iOS 7, such as:

  • Deprecated C-interface Audio Session API.
    PJSIP now uses AVAudioSession to set audio session category and activate/deactivate audio session. Application will need to do its own audio session management to handle input/output route and notifications (interruption, media server reset, etc). Please refer to Apple's official doc on Audio Session Programming Guide.
  • Audio volume control with VoiceProcessingIO Audio Unit
    It is reported that when using VoiceProcessingIO audio unit on iOS 7, there are a couple of issues:
    • Unable to mute the volume using the side volume button (the minimum volume is one bar). This didn't happen before iOS 7.
    • Unable to synchronize with the control center volume slide bar. Since control center is a new feature in iOS 7 we cannot compare it with pre-iOS 7.
    • After the teardown of the audio unit, AVAudioPlayer will play at a reduced volume if the category is set to PlayAndRecord with category option DefaultToSepaker.
    The issue does not happen with RemoteIO (which can be used by disabling the EC). Testing with aurioTouch2 sample app provided by Apple showed the same result, so this is likely Apple's issue.
    Currently there is no resolution or workaround other than disabling EC.

Change History (11)

comment:1 Changed 11 years ago by ming

In 4590:

Re #1697: Add internal compile time option to disable the use of Audio Session API (deprecated)

comment:2 Changed 11 years ago by ming

In 4610:

Re #1697: Add device info in pj_get_sys_info() and set default clock rate for iPhone 5 running iOS7 to 44100Hz

comment:3 Changed 11 years ago by ming

  • Description modified (diff)

comment:4 Changed 11 years ago by ming

In 4617:

Re #1697: Use AVAudioSession to set audio session category and activate/deactivate audio session

comment:5 Changed 11 years ago by ming

  • Description modified (diff)

comment:6 Changed 11 years ago by ming

  • Description modified (diff)
  • Summary changed from Add support for iOS SDK 7 to Add support for iOS SDK 7 & iOS 7

comment:7 Changed 11 years ago by bennylp

In 4635:

Re #1697: fixed build error with the new coreaudio_dev.m introduced by r4617, because build process looks for an ObjC compiler

comment:8 Changed 11 years ago by ming

In 4636:

Re #1697: Removed extra spaces in aconfigure.ac

comment:9 Changed 11 years ago by bennylp

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

comment:10 Changed 11 years ago by ming

  • Description modified (diff)

comment:11 Changed 11 years ago by ming

  • Description modified (diff)
Note: See TracTickets for help on using tickets.