Android SIP stack - what to use? [closed]

2019-01-10 17:33发布

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.

5条回答
ら.Afraid
2楼-- · 2019-01-10 18:03

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.

查看更多
淡お忘
3楼-- · 2019-01-10 18:03

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.

查看更多
女痞
4楼-- · 2019-01-10 18:05

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.

查看更多
beautiful°
5楼-- · 2019-01-10 18:09

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.

查看更多
萌系小妹纸
6楼-- · 2019-01-10 18:16

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.

查看更多
登录 后发表回答