Does Android native sip stack support video over sip? - android

I have implemented successfully sip audio call using android native sip stack. But some how i dont see any information regardind video call over sip using android native sip stack. May be they do not support sip over rtp? . Any information would be highly appreciated. i coudlnt find any clear information on stackoverflow regarding this issue.

Android native sip stack has a very limited feature and i wont recommend to any one. It does not support video feature by default. For video feature it will require bidirectional information flow ,which require RTP. So in short answer no. Better try other opensource sip like pjsip.

Related

Is it best to use a SIP stack or SIP client when implementing a VOIP application?

I'm working on an Android application that uses VOIP. I found a few established SIP Stacks/libraries out there (PJSIP, JAIN SIP, MJSIP). Android seems to also have its own Android SIP API/SDK.
I was wondering if anyone had some experience using either Android's native solution or one of these libraries. If so, what are the main technical and practical differences between both?
There are also a few popular SIP Client projects out there, such as Jami, SIPDroid and Linphone when it comes to app development on Android.
In this case, would implementing an existing SIP Client, instead of developing a new one using SIP libraries offer significant advantages?
I am mainly coding in Java and planning on using Asterisk as a SIP Server.

Android SIP Chat Messaging

I have to implement chat messaging using Android SIP client but unable to find any related classes or listener. I have already implemented calling feature using SIP.
Use pjsip or Linphone opensource project.Both libraries are written using c code and well documented to build for android with sample application.
If you want pure java implementation of sip IM ,go for jainsip stack based implementation.Actually android default sip client is based on jainsip but it not support Im and only works in wifi.
Telestax implementation of jainsip helps to create apps for android.You can read this documentation for more details.Also a sample android implementation you can find here.
It seems like SIP IM is not implemented in the Android SIP client.
However you should be able to easily implement this yourself.
All you need to check is RFC 3428.
Just check the example (search for "MESSAGE sip") and it should be obvious from here.
Another solution would be to use some other open-source SIP stack with SIP MESSAGE support.
To implement both call and messaging facility in Android app, you can implement through PJSIP.It has several set of libraries to implement new features.
It has all VOIP functionalities to implement in android app.
The documentation to implement PJSIP in Android,
https://trac.pjsip.org/repos/wiki/Getting-Started/Android
The above link specifies, how to implement PJSIP in android platform.
Android doesn't have support as of now..Can you check
Check this https://telestax.com/jain-sip-stack-for-android/
WHY DO THIS?
Limitations of native sip stack.
The stock native android sip stack is built on top of JAIN SIP but it does not have all functionality, there is no support for IM, presence and video calls right now. Google forked SIP Stack and never really updated the SIP API that is shipped by default and used the same package names as the original JAIN SIP project. This proved to be a major hassle to developers that wanted to add SIP capabilities worldwide as they couldn’t use JAIN SIP out of the box.
JAIN SIP is Java based
An opensource implementation of the stack can be found here. It is a java based SIP stack which allows you to integrate the sip stack seamlessly in your android application without the hassle of NDK.
A Complete SIP Stack
JAIN SIP is a full implementation of the RFC 3261 Specification and as well as support for several SIP RFCs.

Iplementing Jain SIP in Android

I'm trying to make an android app using Jain SIP. I already read the basic tutorial for SIP and now I'm looking for a tutorial how to implement jain sip in android. I search but I didn't saw anything how to implement it on android. So I'm asking to anyone who knows a link of tutorial how to implement jain sip in android, just a simple example how to use it on androidh.
Any thoughts will be highly appreaciated.
The stock native android sip stack is built on top of JAIN SIP but it does not have all functionality, there is no support for IM, presence and video calls right now. Google forked SIP Stack and never really updated the SIP API that is shipped by default and used the same package names as the original JAIN SIP project. This proved to be a major hassle to developers that wanted to add SIP capabilities worldwide as they couldn’t use JAIN SIP out of the box.
An opensource implementation of the Android JAIN SIP stack can be found here:
https://code.google.com/p/jain-sip/
It is a java based SIP stack which allows you to integrate the sip stack seamlessly in your android application without the hassle of NDK.
A Complete SIP Stack
JAIN SIP is a full implementation of the RFC 3261 Specification and as well as support for several SIP RFCs.
What is the issue using the existing JAIN SIP stack?
If you have tried to use the existing JAIN SIP in any android application you might have run into package name conflicts, these conflicts are resolved now and the stack is ready to be used in android.
The full blog post with example code and Android APK is available here:
http://www.telestax.com/jain-sip-stack-for-android/
While both are SIP client APIs there are differences in the two, implementing JAIN SIP on Android SIP APIs will be difficult or at best incomplete because JAIN SIP is a much lower level API.
For example Android SIP APIs do not expose the SIP Stack as you would expect in JAIN SIP, you cannot access SIP transactions in Android etc.
With Android API you can create a manage a SIP client easily and that is what it is ideally suited for without going to low level SIP protocol tinkering.
If you want to implement JAIN SIP API layer in Android you may have to write or use your own SIP stack (like the NIST JAIN client).

SIP to SIP Call recording

How can we record SIP to SIP call in android? how to get downlink and uplink access in android using native code?
Take a look on CSipSimple. It is an open source project that has the features you are looking for. Generally it uses a pjsip SIP stack that runs on native code. You can ask question in their mailing list. It is very active.
Assuming you wrote your own Android NDK SIP stack, recording SIP calls on Android is pretty simple. Just combine inbound and outbound audio (MUX), then write combined audio to file system or some place you want to save the recorded calls.

Android2.3 SIP implementation

I am new to android and I am implementing VoIP using SIP (Android2.3). I have a issue regarding how to make a landline call thru SIP + how to send SMS,MMS using SIP. How should I think to meet my goal.
Thanks to everyone in advance.
You will need a SIP stack.
You are in luck because since Android 2.3 there is a SIP stack included in the Android framework.
Here is a link to the documentation Android SIP Stack
Be aware that the SIP stack provided by google does not work over 3g.
You can also try a fully working SIP Demo Sample on the android developer website.
If not, there is a couple of open source project of SIP clients: SIPDroid, CSIPSimple, etc
Hope this helps.
Cheers

Categories

Resources