Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linphone Android implementation example

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.

like image 779
Up2Marius Avatar asked Jul 01 '16 17:07

Up2Marius


3 Answers

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.

like image 98
March3April4 Avatar answered Sep 21 '22 18:09

March3April4


Besides linphone its own website and the README.md,

Check out the following two links: http://www.coders-hub.com/2015/04/start-working-on-linphone-android-part-1.html

Make sure you are using a Linux or Mac to build! Especially for the native .so libs for Android. I spent quite a lot futile time trying get the building down on Windows.

After ./prepare.py and make with success use Android Studio and Xcode to build the final application, good luck!

like image 32
Lindows Avatar answered Sep 21 '22 18:09

Lindows


You can look at the open source version, that they have.

https://github.com/BelledonneCommunications/linphone-android

This uses liblinphone to comunicate with the SIP service.

like image 44
JMR Avatar answered Sep 22 '22 18:09

JMR