Android开源SIP协议栈比较

来源:互联网 发布:简单电子音乐制作软件 编辑:程序博客网 时间:2024/05/23 00:06

一、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】

  • 官网:http://documentation.telestax.com/connect/sdks/restcomm-client-android-sdk-quick-start.html
  • 简介: 2004年 Mobicents创建, 2007年 Red Hat 收购 Mobicents ,2011年 Telestax 接管Mobicents ,并提供商业支持
  • 开源和企业级对比:
    https://telestax.com/open-source-or-enterprise-grade/
    主要区别:许可证、社区支持、管理和监控扩展、三方集成测试、高负载、高可用、自动NAT穿越
  • Github: https://github.com/RestComm/restcomm-android-sdk
  • APK下载: https://tsfr.io/nL5T9L
  • 说明: RestComm提供了整套的解决方案,仍持续维护中,参见http://documentation.telestax.com/。需要各组件配合使用,开源部署系统风险高。

三、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】

  • 官网链接 https://code.google.com/archive/p/csipsimple/
  • Github:https://github.com/r3gis3r/CSipSimple
  • nightly build:http://nightlies.csipsimple.com/
  • 说明: 2015年停止维护

VoiDroid 【MIT】

  • 官网链接 http://android.wooyd.org/
  • 说明: 2011年停止维护

四、MjSip【Java】【GNU GPL】

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

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

开源项目:

Sipdroid 【GNU GPL】

  • 官网:http://www.sipdroid.org/
  • Github: https://github.com/i-p-tel/sipdroid
  • 说明:不支持ENUM、ZRTP,社区不活跃,Github仍有少量修改

Lumicall【GNU GPL v3】

  • 官网:https://lumicall.org/
  • Github:https://github.com/opentelecoms-org/lumicall
  • 说明: Sipdroid的分支项目,支持ZRTP,Github持续维护

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

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

IMSDroid【GPL】

  • Github: https://github.com/DoubangoTelecom/imsdroid/
  • 说明:

六、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】

  • 官网:http://www.linphone.org
  • Github: git://git.linphone.org/linphone-android.git
    https://github.com/BelledonneCommunications/linphone-android
  • 说明:

七、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/