No description
Find a file
Pierre-Eric Pelloux-Prayer 4aef1e400b Moved Advanced settings to a new child panel
Also added a note indicating to the user the necessity of restarting Linphone
for SIP account to take effect

Fixes issue: 107, 80
2012-01-13 11:38:43 +01:00
Classes Log 'toggle buttons' state change 2012-01-09 11:21:52 +01:00
liblinphone-tutorials/hello-world add dependency on ssl for totorials build 2011-03-23 14:36:36 +01:00
linphone.xcodeproj Better display of call quality indicator if no media encryption 2011-12-29 17:13:23 +01:00
nogpl-thirdparties Moved Advanced settings to a new child panel 2012-01-13 11:38:43 +01:00
Resources Call quality indicator on audio view 2011-12-29 16:55:44 +01:00
Settings.bundle Moved Advanced settings to a new child panel 2012-01-13 11:38:43 +01:00
submodules Moved Advanced settings to a new child panel 2012-01-13 11:38:43 +01:00
.gitignore update .gitignore 2011-08-20 15:59:20 +02:00
.gitmodules update speex repo to use our version 2011-11-21 12:53:43 +01:00
COPYING add GPL license 2011-08-12 17:55:48 +02:00
disable-security.patch apple sore version 1.1 2011-11-29 11:43:55 +01:00
linphone copy-Info.plist merge vios IOS with master 2011-11-18 14:23:41 +01:00
linphone-Info.plist Bump ios version to 1.1.0.50 2011-12-15 14:47:16 +01:00
linphone_Prefix.pch initial commit with basic ui 2010-01-22 11:44:23 +01:00
linphonerc Use ZRTP by default when SRTP is disabled. 2011-12-15 11:53:28 +01:00
linphonerc-ipad iOS: iPad port (UI and VP8 improvements) 2011-12-15 14:47:14 +01:00
main.m fix gpl notice 2011-08-18 12:25:40 +02:00
PhoneMainView.xib iOS: iPad port (UI and VP8 improvements) 2011-12-15 14:47:14 +01:00
README make video work under iOS/simulator (except camera capture) and rework README 2012-01-06 15:52:28 +01:00
untitled.plist initial commit with basic ui 2010-01-22 11:44:23 +01:00

					            LINPHONE ON IPHONE
					******************************************

					
BUILD PREQUISITES
*****************

Linphone for iPhone depends on liblinphone sdk. This SDK is generated from makefiles and shell scripts.
You must first install both xcode with iPhone OS SDK and MacPorts (www.macports.org) for these scripts to work.

Once xccode and macports are installed, open a terminal and install the required build-time tools with:

	$ sudo port install nawk coreutils automake autoconf libtool intltool wget pkgconfig cmake yasm doxygen


Install gas-preprosessor.pl  (http://github.com/yuvi/gas-preprocessor/ ) to be copied into /opt/local/bin :

	$ wget --no-check-certificate https://raw.github.com/yuvi/gas-preprocessor/master/gas-preprocessor.pl
	$ sudo mv gas-preprocessor.pl /opt/local/bin/.
	$ sudo chmod +x /opt/local/bin/gas-preprocessor.pl

Link macport libtoolize to glibtoolize 

	$ sudo ln -s /opt/local/bin/glibtoolize /opt/local/bin/libtoolize

Link host's strings to simulator SDK 

	$ ln -s  /usr/bin/strings /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/strings



BUILDING THE SDK
****************

 * GPL third parties versus non GPL third parties

This sdk can be generated in 2 flavors. Firt is with GPL third parties, it means liblinphone includes GPL third parties like FFMPEG or x264. 
If you choose this flavor, your final application must comply with GPL in any case. This is the default mode.

To generate the liblinphone multi arch sdk in GPL mode, do:
	$ cd submodules/build
	$ make all 

ALTERNATIVELY, you can force liblinphone to use only non GPL code except for liblinphone, mediastremer2, ortp, exosip, osip.
If you choose this flavor, your final application  is still subject to GPL except if you have a commercial license for liblinphone, mediastremer2, ortp, exosip, osip.

To generate the liblinphone multi arch sdkin non GPL mode, do:
	$ cd submodules/build
	$ make all enable_gpl_third_parties=no
	

The resulting sdk is in liblinphone-sdk/ directory.


In case you upgrade your IOS SDK, you may force rebuilding everything, by doing
	$ make veryclean
	$ make all

BUILDING THE APPLICATION
************************

After the SDK is built, just open the linphone xcode project with Xcode, and press "Run".

 * Note regarding third party components subject to license
 
The liblinphone-sdk is compiled with third parties code that are subject to patent license, specially: AMR, SILK and  X264 codecs.
Linphone controls the embedding of these codecs thanks to the preprocessor macros HAVE_SILK, HAVE_AMR, HAVE_X264 positioned in xcode project.
Before embeding these 3 codecs in the final application, make sure to have the right to do so.


LIMITATIONS, KNOWN BUGS
***********************

* Video capture does not work in simulator (not implemented by simulator ?).
* Sound does not work well (or at all) in simulator