Integrate pjsip in iOS app

空扰寡人 提交于 2019-12-11 07:22:26

问题


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.



来源:https://stackoverflow.com/questions/44179718/integrate-pjsip-in-ios-app

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!