Changes between Version 32 and Version 33 of Getting-Started/iPhone


Ignore:
Timestamp:
Mar 3, 2011 11:28:08 AM (14 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/iPhone

    v32 v33  
    110110Note: these steps do not troubleshoot audio problems. 
    111111 
     112=== Unable to support Bluetooth input === 
     113 
     114Since Bluetooth input support is only available for iOS 3.1 or later, you need to specifically specify that your deployment target is iOS 3.1 or above. You can do this either in '''{{{user.mak}}}''': 
     115{{{ 
     116export CFLAGS += -D__IPHONE_OS_VERSION_MIN_REQUIRED=30100 
     117}}} 
     118or in '''{{{config_site.h}}}''': 
     119{{{ 
     120#define __IPHONE_OS_VERSION_MIN_REQUIRED 30100 
     121}}} 
     122You need to recompile PJSIP after this. 
     123 
     124=== Problem with interruption (by a phone call or an alarm), headset plug/unplug, or Bluetooth input ===  
     125 
     126For devices running iOS 4.0 or later, you need to enable your application to respond to remote-control events. This allows PJSIP to properly receive and process the above events. You can do this by adding the following code in your application: 
     127{{{ 
     128[[UIApplication sharedApplication] beginReceivingRemoteControlEvents]; 
     129}}} 
     130For 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]. 
     131 
    112132=== Compilation error using iPhoneSimulator SDK version 3.2 === 
    113133