Linphone Android implementation example

Up2Marius picture Up2Marius · Jul 1, 2016 · Viewed 8.1k times · Source

I am trying to develop an app for Android that connects to a SIP server. I made some research and I found out that linphone is one of the best solution for that ( i need video call ).

I downloaded the sdk and now I don't know where to start from.

A couple of examples will be very usefull.

Thank you.

Answer

March3April4 picture March3April4 · Nov 14, 2018

Everything the above users suggested did not work, at least to me.

The sample code provided by https://github.com/BelledonneCommunications/linphone-android is not even compatable with their newest android SDK.

The sdk documentation provided on their official web page is merely just a javadoc without any explanation, only three lines of code provided.

The only solution that worked was using the below library.

https://github.com/forever4313/EasyLinphone

The guy who made this library deserves a prize from somewhere.

This requires the linphone SDK 3.x. It's not compatable with 4.x versions currently available.

You can get it from here.

https://linphone.org/releases/android/

liblinphone-android-sdk--no-nonfreecodecs-video-3.2.6-23-g85f3b9a.zip

The above file worked great for me.

Import the aars following this youtube tutorial. https://www.youtube.com/watch?v=MTgbcblEfX0

Use the EasyLinphone library to do whatever you want.