linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Re: [Linphone-users] [Release] Linphone on Android


From: Simon Morlat
Subject: [Linphone-developers] Re: [Linphone-users] [Release] Linphone on Android
Date: Fri, 26 Mar 2010 18:36:58 +0100

android.media is needed the only "official" api to access the sound
device on android. And yes these api are not well designed and have a
big big latency.
On HTC phones there is no alsa driver. The audio driver is proprietary
and not provided by google. There is no way to access it directly.
There is an unoffical api in C++, but it apparently has the same high
latency.
In liblinphone.so, the sound access is done through a mediastreamer2
plugin that does jni upcalls to the JVMs to access the official apis.
It is available here:
git clone git://git.linphone.org/msandroid.git
It is GPL.

Simon

Le jeudi 25 mars 2010 à 09:09 -0400, Dragos D a écrit :
> Hi Simon,
> 
> I'll get now to more serious questions :-).
> The Eclipse/NDK dev environments are new to me. I studied them a
> little when I looked at the Sipdroid application. 
> Sipdroid uses the "android.media" classes while Linphone does not.
> All the VOIP applications I tried so far on Android have an annoying
> delay (latency). Unfortunately this is also true for Linphone.
> Previously I blamed it on the use of classes like
> android.media.track... 
> I thought that by directly using ALSA for example this latency could
> be smaller. But the ALSA libraries are not present on Android (please
> correct me if I am wrong). 
> So the mai question is: how does "liblinphone.so" work? The Linux
> version use ALSA (libasound). What about the NDK version?
> 
> Merci,
> Dragos
> 
> 
> On Tue, Mar 23, 2010 at 5:25 AM, Simon Morlat
> <address@hidden> wrote:
>         Many of you legitimely asked for the source of the
>         linphone-android
>         frontend.
>         Here is the git url:
>         
>         git clone git://git.linphone.org/linphone-android.git
>         
>         git clone http://git.linphone.org/git/linphone-android.git
>         
>         Of course it is GPL.
>         This git tree contains a liblinphone.so for ARM EABI built
>         over NDK 1.6.
>         
>         As the source code is evolving fast, we think git access is
>         probably the
>         most efficient way to have up to date sources.
>         
>         Simon
>         
>         Le lundi 22 mars 2010 à 21:07 +0100, Simon Morlat a écrit :
>         
>         > Hi,
>         >
>         > Since today it is now possible to run linphone on its
>         Android mobile
>         > phone !
>         > We've just released a version for Google Android. We have
>         tested it on
>         > G1 and Nexus 1 with success.
>         > If you are subscribed to a VoIP to PSTN service, you can
>         then make wifi
>         > or 3G audio calls (make sure it is permitted by your 3G
>         operator first).
>         > See the full news:
>         > http://www.linphone.org/index.php/eng/linphone_on_android
>         >
>         > It's a first release, so bugs are possible... You can use
>         this mailing
>         > list to report them. An "adb logcat" dump can help in
>         solving it.
>         >
>         > Simon
>         >
>         >
>         >
>         > _______________________________________________
>         > Linphone-users mailing list
>         > address@hidden
>         > http://lists.nongnu.org/mailman/listinfo/linphone-users
>         
>         
>         
>         
>         _______________________________________________
>         Linphone-users mailing list
>         address@hidden
>         http://lists.nongnu.org/mailman/listinfo/linphone-users
>         
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]