Changes between Version 98 and Version 99 of Getting-Started/iPhone


Ignore:
Timestamp:
Sep 21, 2017 1:32:29 AM (7 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/iPhone

    v98 v99  
    9595 - native preview 
    9696 - native OpenGL ES renderer 
    97  - H.264 codec (via OpenH264 library, see below) 
     97 - H.264 codec (using native !VideoToolbox framework or OpenH264 library, see below) 
    9898 
    9999=== Requirements === 
     
    104104       1. If you are using 2.5.1 or older, follow the instructions in ticket #1776. 
    105105 
    106 ==== OpenH264 ==== 
    107  
    108        1. Follow the instructions in ticket #1758 (or ticket #1947 if you use PJSIP version 2.6 or above). 
     106==== OpenH264 or !VideoToolbox (choose only one) ==== 
     107 
     108       * For OpenH264, follow the instructions in ticket #1947 (or ticket #1758 if you use PJSIP before version 2.6). 
     109       * For !VideoToolbox, define this in your config_site.h: 
     110         {{{#define PJMEDIA_HAS_VID_TOOLBOX_CODEC 1}}} 
    109111 
    110112=== Configuring === 
     
    112114Sample invocation of ./configure-iphone: 
    113115{{{ 
    114 $ ./configure-iphone --with-libyuv=/Users/me/src/libyuv/trunk --with-openh264=/Users/me/opt 
    115 }}} 
    116  
    117 Make sure libyuv and openh264 are detected by {{{./configure-iphone}}}: 
     116$ ./configure-iphone --with-openh264=/Users/me/opt 
     117}}} 
     118 
     119If you use openh264, make sure it is detected by {{{./configure-iphone}}}: 
    118120{{{ 
    119121... 
    120122Using OpenH264 prefix... /Users/me/opt 
    121123checking OpenH264 availability... ok 
    122 Using libyuv prefix... /Users/me/src/libyuv/trunk 
    123 checking for I420Scale in -lyuv... yes 
    124124... 
    125125}}} 
    126  
    127 '''Update''': since PJSIP 2.5.5, libyuv is included in the PJSIP package and configure script param {{{--with-libyuv}}} is removed, check ticket #1937 for more info. 
    128126 
    129127Set these in your {{{config_site.h}}}: 
     
    261259 
    262260 
    263 == Other Problems (problem specific to a particular iOS version/device/simulator) == 
    264  
    265 === Unable to accept incoming call in background mode === 
     261== Other Problems (problem specific to a particular iOS version/device) == 
     262 
     263=== Unable to accept incoming call in background mode (iOS 8 or before) === 
    266264 
    267265Starting in iOS 9, this method to accept incoming call in bg is deprecated, please have a look at [#bg-call]. 
     
    290288There are several issues with the use of Voice Processing IO Audio Unit in iOS 7, such as unable to mute the volume using the side volume button, unable to synchronize with the control center volume slide bar, significantly reduced volume for audio playback to speaker after a call. Currently there is no workaround for this. Please refer to ticket #1697 for more details. 
    291289 
    292 === Unable to support Bluetooth input === 
    293  
    294 Since 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}}}''': 
    295 {{{ 
    296 export CFLAGS += -D__IPHONE_OS_VERSION_MIN_REQUIRED=30100 
    297 }}} 
    298 or in '''{{{config_site.h}}}''': 
    299 {{{ 
    300 #define __IPHONE_OS_VERSION_MIN_REQUIRED 30100 
    301 }}} 
    302 You need to recompile PJSIP after this. 
    303  
    304 === Sound not working in the simulator === 
    305  
    306 Go to System Preferences > Sound > Sound Effects and then uncheck and recheck "Play user interface sound effects". If it still doesn't work, you can try some other suggestions [http://stackoverflow.com/questions/302399/sound-not-working-in-iphone-simulator here]. 
    307  
    308290=== List of Issues === 
    309291