Changes between Version 53 and Version 54 of Getting-Started/iPhone
- Timestamp:
- Oct 9, 2013 3:56:07 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Getting-Started/iPhone
v53 v54 122 122 Note: these steps do not troubleshoot audio problems. 123 123 124 === Audio session management issue (iOS7) === 125 126 Since the deprecation of C-interface Audio Session API in iOS 7 SDK, PJSIP now uses AVAudioSession to set audio session category (to PlayAndRecord) 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 [https://developer.apple.com/library/IOS/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Basics/Basics.html#//apple_ref/doc/uid/TP40007875-CH2-SW1 Apple's official doc on Audio Session Programming Guide]. 127 124 128 === Audio issue (no audio) (iOS7) === 125 129 … … 179 183 }}} 180 184 For more details, please refer to Apple's doc on [http://developer.apple.com/library/ios/#documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/RemoteControl/RemoteControl.html Remote Control of Multimedia]. 181 182 === Problem with deprecated CPU_SUBTYPE_ARM_ALL subtype ===183 184 If you get this warning during compilation:185 {{{186 CPU_SUBTYPE_ARM_ALL subtype is deprecated187 warning: -force_cpusubtype_ALL will become unsupported for ARM architectures188 }}}189 190 Modify your '''{{{user.mak}}}''' (this requires at least gcc 4.2.1 so please use r3462 or later (see ticket #1218)):191 192 {{{193 export CFLAGS += -march=armv7 -mcpu=arm1176jzf-s -mcpu=cortex-a8194 export LDFLAGS += -march=armv7 -mcpu=arm1176jzf-s -mcpu=cortex-a8195 }}}196 197 Then rebuild PJSIP.198 Next, change your XCode setting, go to Targets-ipjsua(or your application name)-Get Info-Build, select Architectures-armv7 and tick Build Active Architecture Only-Yes.199 200 If you need to support another architecture and/or cpu subtype, you can visit [http://en.wikipedia.org/wiki/ARM_architecture Wikipedia doc on ARM architecture].201 185 202 186 === Sound not working in the simulator ===