背景
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.
编译
下载推荐脚本:pjsip
git clone https://github.com/chebur/pjsip.git
将终端切换到脚本根目录:
cd /path/to/your/pjsip/dir
开启编译之旅:
./build.sh
进入刷屏模式:
编译完成:
image.png将编译出来的库整理如下:
image.png如果你想使用官网的demo:
pjsua(pjsip-apps/src/pjsua/ios)
则需要依赖:
openh264,openssl,opus
否则编译报错最后也是你们最关注的:
源码:PJSIP
库:2.6(支持armv7,armv7s,arm64,i386,x86_64)
官方demo:pjsua
网友评论