How to implement voice and video calls in my apps [closed]

3

I'd like to know how I can implement video and voice calls (similar to WhatsApp's) in my Apps written in JAVA for Android. Is there any open source SDK that makes this easy?

    
asked by anonymous 07.01.2017 / 04:57

1 answer

2

It's not a simple job when it comes to audio / video calls. (So much so that WhatsApp has implemented video calling). You can find more about SIP protocol on Android that is available on Android from the API level 9 .

An example call would be this snippet that defines the android.SipDemo.INCOMING_CALL action, which will be used by an intent filter when the device receives a call. See:

Intent intent = new Intent();
intent.setAction("android.SipDemo.INCOMING_CALL");
PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, Intent.FILL_IN_DATA);
mSipManager.open(mSipProfile, pendingIntent, null);

However, there are some open sourcing platforms that could very well help you with these features. It would be interesting to analyze each one making a decision that fits your needs better.

Read more about the SIP protocol at documentation .

    
07.01.2017 / 12:19