Android VoIP Library

I need to integrate VoIP service in my Android application.
Is there a free library (best open source)?

I need the library to at least allow you to make calls over the Internet and not necessarily connect to the Internet (for example, 2 Skype accounts).

+44
android open-source voip
Nov 22 '12 at 11:05
source share
3 answers

From version android 2.3, the SIP API has been added to Android. You can use the built-in SipStack library or third-party open source packages.

Refer Android Developer's Guide

There are various open source file stack libraries, and projects are available on the Internet. You can download the source code for these projects.

Here is a list of some popular open source sip stack libraries that allow you to make voice calls over the Internet.

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

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

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

+52
Nov 22 '12 at 11:31
source share
— -

Open Source SIP Stacks:

  • Standard implementation of Android SDK (API> 9):
    Advantages: Documentation available. Easy to understand.
    Disadvantages: not all devices are supported. Works on WiFi only on most devices. Unable to change codecs.

  • Third party

Java:

  • JainSIP (License: Public Domain)

Advantages: Oracle (Sun) project ==> Active development. It looks easier than MjSIP (additional documentation).
Disadvantages: not used in the "famous" application.

  • MjSIP (License: GNU GPL)

Advantages: SipDroid is built on it. (source code available) (red5phone - another project) Minuses: not fully compatible with RFC ?. Lack of tutorials (Javadocs available). ELEGANCE. Development is almost dead.

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

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

C / C ++:

  • Native SIP Stacks

Advantages: various choices (PjSip [CSipSimple], GNU oSIP / eXoSIP [Linphone, which made its own stack bubble]). Full RFC compliance ?. The best performance.
Disadvantages: Android NDK / JNI for beginners.

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

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

+29
Mar 25 '13 at 0:34
source share

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

+5
Jun 18 '13 at 14:55
source share



All Articles