I will try to provide my two cents for this:
Android SIP Stack Relays on the old version of JAIN SIP plus some extensions (IMS, RTP support, etc.). The main problem with this stack is that on most devices it only works via Wi-Fi, 3G or LTE (note that android.net.sip.SipManager contains the isSipWifiOnly method to find out if this restriction is enabled).
On the other hand, pjsip is quite complete, as they say, this is not a SIP stack, but a complete multimedia message library. This is really universal: you can use a huge number of settings or just run it as a simple user agent . It works with any data connection (not limited to Wi-Fi).
Now a comparison. In my opinion, pjsip more advanced and versatile, but it’s more difficult to integrate the project with you (when using Android SIP Stack everything remains in the SDK environment, and with pjsip you will need to use the NDK and JNI library).
My opinion: if you plan to create a very simple SIP application, and you are not against the Wi-Fi restriction, I think that it is best to use your own SIP interface, but if you plan to improve it and make something more “interesting”, I highly recommend pjsip . I used both JAIN SIP and pjsip , and again, my vote goes for psip . But this is just my opinion.
Hope this helps.
jcm Nov 27 '13 at 12:43 2013-11-27 12:43
source share