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.
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.
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!
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With