本文介绍了将pjsip集成到iOS应用中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Goosip/AKSSIP,用于pjsip包装器,但无法连接到服务器.谁能指导我在iOS项目中实现pjsip.

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.

谢谢!

推荐答案

要在iOS上集成PJSIP:
步骤1:首先从其网站下载PJSIP项目. http://pjsip.org/download.htm

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

步骤2:将文件解压缩到您的计算机中.

step 2: Extract the files in your computer.

步骤3:转到文件夹pjsip2.6/pjlib/include/pj/

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

步骤4:创建config_site.h文件

step 4: create config_site.h file

步骤5::将以下行添加到config_site.h文件中并保存文件

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

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

步骤6::打开命令提示符,然后转到您的pjproject2.6路径.
例如, User/nandha/Documents/pjproject2.6/

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

第7步:在命令提示符下编译以下命令.

step 7: compile following commands in command prompt.

./configure-iphone

成功编译以上命令后,执行下一条命令.

After successfully compiled above command , execute next command.

make dep && make clean && make

如果两个命令都正确执行,则意味着您的PJSIP项目已成功与iOS集成,并可以在iPhone中运行您的项目.

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

来源: https://trac.pjsip.org/repos/wiki /使用入门/iPhone

以上文档清楚地显示了如何在iOS上集成PJSIP.

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

这篇关于将pjsip集成到iOS应用中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-03 17:25