About how to build PJSIP under linux environment
来源:互联网 发布:如何登陆淘宝店铺 编辑:程序博客网 时间:2024/06/02 21:36
PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. It combines signaling protocol (SIP) with rich multimedia framework and NAT traversal functionality into high level API that is portable and suitable for almost any type of systems ranging from desktops, embedded systems, to mobile handsets.For example,PJSIPcan be used as BlackBerry 10 platform'sthird-party components for VOIPprotocol communication.
First, you must to install linux system on your PC,such as Ubuntu.
1、Run below command to install required tools if you don't have. (E.g. svn 、git、jdk、gcc)
Command: sudo apt-get install git
sudo apt-get install subversion
sudo apt-get install g++
sudo apt-get install build-essential
sudo apt-get build-dep fcitx
sudo apt-get install yum
2、Use Browser to download BlackBerry IDE and SDK and install.
Blackberry SDK version : 10.1.0.4828
(Note:Currently using this, if you use Blackberry SDK version 10.2 to build the PJSIP,the resource import
will be error with missing some package)
Download URL : http://developer.blackberry.com/native/downloads/
3、Checkout PJSIP BB10 demo from below url
Command:git clonehttps://github.com/bobcripps/bb10-pjsipdemo.git
4、 Get the PJSIP source
Enter the path : cdbb10-pjsipdemo\pjbuildscripts\(Checkout after step 3)
Command: ./getpjsource (spend some time)
5、Change the file below
Enter the path : cd pjsip-checkout/trunk/pjsip/include/pjsua-lib/
File to change: vi pjsua.h
Enter : Esc ,change to Command Model
Input : /PJSUA_SDP_SESS_HAS_CONN
Enter : Enter, to searchPJSUA_SDP_SESS_HAS_CONN value
Enter : i , change to Insert Model, set the value of PJSUA_SDP_SESS_HAS_CONN to 1
Enter : Esc ,change to Command Model
Input : :wq , save and quite
6、Source the bbndk environment file
Command: source $BBNDK_DIR/bbndk-env.sh
($BBNDK_DIR means the SDK installation directory path,and you'd better run this in your BB10 NDK directory)
7、Compile and build the sdkfiles
Enter the path : cd bb10-pjsipdemo\pjbuildscripts
Command: ./buildpjsip
8、 Put the upzip of sdkfiles zip file
Enter the path : cd \bb10-pjsipdemo\pjbuildscripts
Command: ./createsdkoverlay
9、the sdkfile.zip will be created in the bb10-pjsipdemo\pjbuildscripts when step 8 finished.
- About how to build PJSIP under linux environment
- how to build a cgal program in qt under ubuntu
- How to use "chmod" under linux
- How to run scripts under Linux
- how to debug MudOS under linux
- How to build the environment of XPCOM in Windows XP
- How to build the environment of MSYS in the windows?
- How to Setup build environment for JB4.2
- How to Build Linux Kernels
- How to mount remote windows partition (windows share) under Linux
- How to write a simplest wireshark dissector(under Linux)
- How to mount remote windows partition (windows share) under Linux
- How to use JP108 usb lan adapter under SmartQ7 linux.
- How to mount remote windows partition (windows share) under Linux
- How to change Mysql root password under linux ?
- HOW TO SETUP BUMBLEBEE STEREO CAMERA UNDER LINUX
- How To Check and Use Serial Ports Under Linux
- How to start/stop DB instance of Oracle under Linux
- 基于HTML5 Canvas和jQuery 的画图工具的实现
- DropDownList控件不触发SelectedIndexChanged事件(转)
- 牛人东西
- git 设置代理
- JSP读取EXCEL文件
- About how to build PJSIP under linux environment
- Laravel 分页缓存的实现
- linux cat命令
- 斑马外汇新手学习心得
- JavaScript 事件委托 以及jQuery对事件委托的支持
- UML--时序图、协作图
- Spring Filter过滤器,Spring拦截未登录用户权限限制
- IOS对象是否为空判断
- Java异常的处理机制(二)