-->

Integrate pjsip in iOS app

2019-07-27 07:11发布

问题:

I am Goosip/AKSSIP for pjsip wrapper but not able to connect to the server. Can any one guide me to implement pjsip in iOS project.

Thanks!

回答1:

To Integrate PJSIP on iOS:
step 1: First Download PJSIP Project from their website. http://pjsip.org/download.htm

step 2: Extract the files in your computer.

step 3: Go to the folder pjsip2.6/pjlib/include/pj/

step 4: create config_site.h file

step 5: add the following lines into the config_site.h file and save the file

#define PJ_CONFIG_IPHONE 1
#include <pj/config_site_sample.h>

step 6: open command prompt and go to your pjproject2.6 path.
For Example, User/nandha/Documents/pjproject2.6/

step 7: compile following commands in command prompt.

./configure-iphone

After successfully compiled above command , execute next command.

make dep && make clean && make

If both command executed properly means, your PJSIP project is successfully integrated with your iOS and ready to run your project in iPhone.

Source:https://trac.pjsip.org/repos/wiki/Getting-Started/iPhone

The above documentation clearly shows how to integrate PJSIP on iOS.



标签: ios voip pjsip