Changes between Version 98 and Version 99 of Getting-Started/iPhone
- Timestamp:
- Sep 21, 2017 1:32:29 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Getting-Started/iPhone
v98 v99 95 95 - native preview 96 96 - native OpenGL ES renderer 97 - H.264 codec ( viaOpenH264 library, see below)97 - H.264 codec (using native !VideoToolbox framework or OpenH264 library, see below) 98 98 99 99 === Requirements === … … 104 104 1. If you are using 2.5.1 or older, follow the instructions in ticket #1776. 105 105 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}}} 109 111 110 112 === Configuring === … … 112 114 Sample invocation of ./configure-iphone: 113 115 {{{ 114 $ ./configure-iphone --with- libyuv=/Users/me/src/libyuv/trunk --with-openh264=/Users/me/opt115 }}} 116 117 Make sure libyuv and openh264 aredetected by {{{./configure-iphone}}}:116 $ ./configure-iphone --with-openh264=/Users/me/opt 117 }}} 118 119 If you use openh264, make sure it is detected by {{{./configure-iphone}}}: 118 120 {{{ 119 121 ... 120 122 Using OpenH264 prefix... /Users/me/opt 121 123 checking OpenH264 availability... ok 122 Using libyuv prefix... /Users/me/src/libyuv/trunk123 checking for I420Scale in -lyuv... yes124 124 ... 125 125 }}} 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.128 126 129 127 Set these in your {{{config_site.h}}}: … … 261 259 262 260 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) === 266 264 267 265 Starting in iOS 9, this method to accept incoming call in bg is deprecated, please have a look at [#bg-call]. … … 290 288 There 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. 291 289 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=30100297 }}}298 or in '''{{{config_site.h}}}''':299 {{{300 #define __IPHONE_OS_VERSION_MIN_REQUIRED 30100301 }}}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 308 290 === List of Issues === 309 291