Jovan
Jovan

Reputation: 1741

Android SIP stack - what to use?

I need to create use an SIP stack on Android, which will work with asterix and will give users the possibility to change codecs (i need to implement G729 and some other codecs). I'm new in this field (voice and codec), and every bit of information will be appreciated. In my research across the Internet, I found the following SIP stacks:

  1. PJSIP
  2. MJSIP
  3. JAIN SIP

What do you recommend to use for a commercial program? Or you can recommend some other? For my particular situation, it must support the G729 codec.

Upvotes: 24

Views: 23149

Answers (5)

john.weland
john.weland

Reputation: 266

I had to build a SIP app for work, currently we are using Linphone which can be found here https://github.com/BelledonneCommunications/linphone-android

It provides a ton of features from VOIP, Chat (text) Video Calls, remote provisioning, as well of a slew of codecs including G729. It does require compiling its C files to java and it takes a little bit for trying to get that to work. This can be done on Windows though it is a fair bit more work and you're better off to use Linux to this.

Upvotes: 1

Iftekhairul Alam
Iftekhairul Alam

Reputation: 129

As a fact, no sip stack will give you support for any specific codec. Codec integration always manual as like a plug in.

There is some open-source sip based projects as like csipsimple which has G729 codec integrated . If you study how they have added the codec then you will own able to add any codec in any other sip based frameworks.

Upvotes: 0

Phil
Phil

Reputation: 21

Although I have never tried this sdk for mobile development (but I can confirm its performance in the field of Windows VoIP SIP applications), I think this android voip client example can be also a possible alternative to the previously mentioned Android SIP stacks.

Upvotes: 2

John Qualis
John Qualis

Reputation: 1733

PJSIP is highly recommended. You can look at CsipSimple which is an opensource Android phone using PJSIP and a good place to start. PJSIP supports a number of codecs including G.729 and speex, has small memory foot print and has extensive documentation.

Upvotes: 7

hovanessyan
hovanessyan

Reputation: 31453

I would recommend also Doubango. It supports G729 as you would like, and there's an example project you can look into, which uses the framework - ImsDroid - there's a lot of features already provided by ImsDroid and the source code is open.

Upvotes: 7

Related Questions