Android开源SIP协议栈比较

本文对比了多个Android平台上的开源SIP协议栈,包括Android SIP Stack、RestComm JAIN SIP、PJSIP、MjSip、doubango、Belle-SIP、baresip和Sofia-SIP。详细介绍了每个协议栈的特点、社区反馈、相关开源项目及其维护状态,为开发者选择适合的SIP解决方案提供参考。

一、Android SIP Stack

官网链接:https://developer.android.com/guide/topics/connectivity/sip.html
源码地址:

https://github.com/aosp-mirror/platform_development/tree/master/samples/SipDemo

简介:

Android SIP Stack原本fork 至JAIN SIP ,但是不支持IM、在线状态订阅、视频电话等功能,而且包名与JAIN SIP一致,造成Android应用使用现存JAIN SIP会发生包名冲突。

社区反馈:

不可用,相关资源少,不支持TLS(20160829)
Android默认实现,API >9, 不支持所有设备 ,在大部分设备只在WiFi条件下工作,不能修改编解码器

开源项目:暂无

二、RestComm JAIN SIP【Java】 【Public Domain】

官网链接: https://github.com/RestComm/jain-sip
源码地址:

https://github.com/RestComm/jain-sip
https://github.com/RestComm/jain-sip.ext
https://github.com/RestComm/jain-sip.ha
https://github.com/RestComm/jain-sip.docs

简介:(参见 https://telestax.com/jain-sip-stack-for-android/)

RestComm JAIN SIP 消除了 在Android项目使用时与Android SIP Stack(原JAIN SIP)可能造成的包名冲突,同时对原JAIN SIP进行了扩展,添加了如DNS、高可用、容错支持等功能。

社区反馈:
开源项目:

Restcomm Android SDK【GPL v3 & APGL v3】

三、PJSIP【C/C++】【GNU GPL/GNU GPL v2】

官网链接:http://www.pjsip.org/

源码地址:

https://trac.pjsip.org/repos/wiki/Getting-Started/Download-Source#GettingfromSubversiontrunk

社区反馈:文档全,PJSIP 仍持续更新,推荐

开源项目:

pjsua2
  • 说明: PJSIP demo,自行编译
Csipsimple 【GNU GPL v3】
VoiDroid 【MIT】

四、MjSip【Java】【GNU GPL】

官网链接:http://www.mjsip.org/
源码地址:https://github.com/opentelecoms-org/MjSIP-fork

社区反馈:于2012年停止维护

开源项目:

Sipdroid 【GNU GPL】
Lumicall【GNU GPL v3】

五、doubango【Java C/C++】【GNU GPLv3】

官网链接:http://www.doubango.org/
源码地址:https://github.com/DoubangoTelecom/doubango
社区反馈:持续维护中
开源项目:

IMSDroid【GPL】

六、Belle-SIP【C】【 GNU GPLv2】

官网链接:http://www.linphone.org/technical-corner/belle-sip/overview
源码地址:

git://git.linphone.org/belle-sip.git
https://github.com/BelledonneCommunications/belle-sip

社区反馈:
开源项目:

Linphone 【GPL】

七、baresip【BSD】

官网链接:http://creytiv.com/baresip.html
源码地址:https://github.com/alfredh/baresip
社区反馈:社区不活跃
开源项目: Android项目暂无

tSIP(windws http://tomeko.net/software/SIPclient/index.php)
OpenWrt (使用了creytiv的开源库)

八、Sofia-SIP【主要针对 GNU/Linux】

官网链接:http://sofia-sip.sourceforge.net/
源码地址:https://sourceforge.net/projects/sofia-sip/
社区反馈:
开源项目:

Telepathy
FreeSWITCH

参考资料:

https://stackoverflow.com/questions/13511372/voip-library-for-android
https://stackoverflow.com/questions/10042534/android-sip-client?lq=1
http://www.pernau.at/kd/voip/bookmarks-sip-stacks.html
http://www.cs.columbia.edu/sip/implementations.html
https://www.voip-info.org/wiki/view/Open+Source+VOIP+Software
http://docs.huihoo.com/telecom/sip_rtp_stack.html
https://www.quora.com/What-is-the-relationship-between-Mobicents-and-Telestax-Restcomm
https://telestax.com/restcomm-developer-mobicents/
https://telestax.com/jain-sip-stack-for-android/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值