VoIP library for Android [closed]

孤者浪人 提交于 2019-11-27 06:00:56
Juned

From android version 2.3 SIP API is added in Android. you can use either inbuilt SipStack library or third party open source sip stacks.

Refer Android Developer's Guide

There are different open source sip stack libraries as well as projects are available on internet. You can download the source code of that projects.

Here is the List of some popular open source sip stack libraries which allows to voice call over internet.

1.Pjsip
2.Mjsip
3.doubango
4.belle-sip

There are different open source projects which have used these libraries in their projects.like Sipdroid uses MjSip, Csipsimple uses PjSip, imsdroid uses doubango and Linphone uses belle-sip.

You may also like to refer this Android SIP stack - what to use?

JohnTube

Open source SIP stacks :

  1. Android SDK's default implementation (API > 9) :
    Advantages : Documentation available. Easy to understand.
    Disadvantages : not all devices are supported. Works on WiFi only on most devices. Can't change codecs.

  2. Third Party

Java :

  • JainSIP (license : Public Domain)

Advantages : Oracle (Sun) project ==> Active development. Looks easier than MjSIP (more documentation).
Disadvantages : Not used in a "famous" app.

  • MjSIP (license : GNU GPL)

Advantages : SipDroid is built on it. (source code available) (red5phone is another project) Disadvantages : Not fully compliant with RFC?. Lack of tutorials (Javadocs available though). SOPHISTICATED. Development almost dead.

  • Doubango framework [android-ngn-stack] (license : GNU GPLv3)

Advantages : IMSDroid is built on it. (source code available)
Disadvantages : Generated apk file size tend to be "heavy" (>15MB as mentioned here)

C/C++ :

  • Native SIP Stacks

Advantages : Various choice (PjSip [CSipSimple], GNU oSIP/eXoSIP [Linphone, which has made their own stack belle-sip]). Full compliance with RFC?. Better performance.
Disadvantages : Android NDK/JNI for a beginner.

Sources (old and mainly C/C++):

http://www.cs.columbia.edu/sip/implementations.html
http://www.pernau.at/kd/voip/bookmarks-sip-stacks.html

If you need VoIP but not SIP, check out WebRTC http://www.webrtc.org/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!