#1697 closed task (fixed)
Add support for iOS SDK 7 & iOS 7 — at Version 14
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 few 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 DefaultToSpeaker. (Update: According to Apple's reply, this is due to the gain controller feature employed in VPIO, which still applies even after its uninitialization. There is no API or workaround to change the gain controller but it is reported that the issue is being investigated as to whether the gain controller affect the playback volume too drastically.)
Currently there is no resolution other than disabling EC.A reported workaround is by setting audio session category to non-playback mode (such as by setting it to record only, [[AVAudioSession sharedInstance] setCategory:AVAudioSessionRecord error:nil];) before the audio unit is destroyed (i.e. upon call disconnection).
Change History (14)
comment:1 Changed 11 years ago by ming
comment:2 Changed 11 years ago by ming
In 4610:
comment:3 Changed 11 years ago by ming
- Description modified (diff)
comment:4 Changed 11 years ago by ming
In 4617:
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:
comment:8 Changed 11 years ago by ming
In 4636:
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)
comment:12 Changed 11 years ago by ming
- Description modified (diff)
comment:13 Changed 11 years ago by ming
- Description modified (diff)
comment:14 Changed 11 years ago by ming
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
In 4590: