CSipSimple : Pjsip port + Application for Android

RM
Régis Montoya
Mon, Apr 5, 2010 10:27 AM

Hi all,

I'm really pleased to announce you the first alpha release of a portage of
pjsip for Android : CSipSimple (http://code.google.com/p/csipsimple)

It's based on the trunk branch (1.x).
And will evolves with updates of the trunk, since for now the aim is not to
have a stable application : there is a lot of work remaining on the android
application itself.

A part of the port was based on the excellent work of Jurij Smakov
(VoiDroid) but I re-wrote the audio driver with new audio-dev API. (For now
audio driver is really minimalistic : only 8KHz and I only use G711 codec).
I also choose to use pjsip-jni project to glue with java (which I tweaked a
little bit in order to be compliant with the Dalvik JVM).

I will release an apk in next hours for those who want to test. And i'll
also give more information on how to build on
http://code.google.com/p/csipsimple/ . It will be also distributed on Google
Marketplace and Archos AppsLib.

Of course, all this work is opensource (released under GPLv3).

For now the build process is deeply linked to the android NDK (a
cross-compil facility toolkit).
But if you are interested, we could imagine to introduce the pjsip (C) part
of my project into a branch of pjsip (or trunk, since it could be not
intrusive just like symbian/wme specific code).

I hope this sounds a good news to you.
I have already a contribution (independent from android port for pjsua
registration module ;) but I'll send it in another post :).... one thing at
time ).

Let me know if you have any remarks or ideas; or if somebody is interested
joining this android project.

Cheers,
Regis.

Hi all, I'm really pleased to announce you the first alpha release of a portage of pjsip for Android : CSipSimple (http://code.google.com/p/csipsimple) It's based on the trunk branch (1.x). And will evolves with updates of the trunk, since for now the aim is not to have a stable application : there is a lot of work remaining on the android application itself. A part of the port was based on the excellent work of Jurij Smakov (VoiDroid) but I re-wrote the audio driver with new audio-dev API. (For now audio driver is really minimalistic : only 8KHz and I only use G711 codec). I also choose to use pjsip-jni project to glue with java (which I tweaked a little bit in order to be compliant with the Dalvik JVM). I will release an apk in next hours for those who want to test. And i'll also give more information on how to build on http://code.google.com/p/csipsimple/ . It will be also distributed on Google Marketplace and Archos AppsLib. Of course, all this work is opensource (released under GPLv3). For now the build process is deeply linked to the android NDK (a cross-compil facility toolkit). But if you are interested, we could imagine to introduce the pjsip (C) part of my project into a branch of pjsip (or trunk, since it could be not intrusive just like symbian/wme specific code). I hope this sounds a good news to you. I have already a contribution (independent from android port for pjsua registration module ;) but I'll send it in another post :).... one thing at time ). Let me know if you have any remarks or ideas; or if somebody is interested joining this android project. Cheers, Regis.
AG
Adrian Georgescu
Mon, Apr 5, 2010 11:03 AM

Hi Regis,

This is a great achievement, congratulations!

I have one remark, it would make a huge difference compared with
existing SIP clients on mobile if wideband would be supported (g722/
speex codecs).

Adrian

On Apr 5, 2010, at 12:27 PM, Régis Montoya wrote:

Hi all,

I'm really pleased to announce you the first alpha release of a
portage of pjsip for Android : CSipSimple (http://code.google.com/p/csipsimple
)

It's based on the trunk branch (1.x).
And will evolves with updates of the trunk, since for now the aim is
not to have a stable application : there is a lot of work remaining
on the android application itself.

A part of the port was based on the excellent work of Jurij Smakov
(VoiDroid) but I re-wrote the audio driver with new audio-dev API.
(For now audio driver is really minimalistic : only 8KHz and I only
use G711 codec).
I also choose to use pjsip-jni project to glue with java (which I
tweaked a little bit in order to be compliant with the Dalvik JVM).

I will release an apk in next hours for those who want to test. And
i'll also give more information on how to build on http://code.google.com/p/csipsimple/
. It will be also distributed on Google Marketplace and Archos
AppsLib.

Of course, all this work is opensource (released under GPLv3).

For now the build process is deeply linked to the android NDK (a
cross-compil facility toolkit).
But if you are interested, we could imagine to introduce the pjsip
(C) part of my project into a branch of pjsip (or trunk, since it
could be not intrusive just like symbian/wme specific code).

I hope this sounds a good news to you.
I have already a contribution (independent from android port for
pjsua registration module ;) but I'll send it in another post :)....
one thing at time ).

Let me know if you have any remarks or ideas; or if somebody is
interested joining this android project.

Cheers,
Regis. _______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Regis, This is a great achievement, congratulations! I have one remark, it would make a huge difference compared with existing SIP clients on mobile if wideband would be supported (g722/ speex codecs). Adrian On Apr 5, 2010, at 12:27 PM, Régis Montoya wrote: > Hi all, > > I'm really pleased to announce you the first alpha release of a > portage of pjsip for Android : CSipSimple (http://code.google.com/p/csipsimple > ) > > It's based on the trunk branch (1.x). > And will evolves with updates of the trunk, since for now the aim is > not to have a stable application : there is a lot of work remaining > on the android application itself. > > > A part of the port was based on the excellent work of Jurij Smakov > (VoiDroid) but I re-wrote the audio driver with new audio-dev API. > (For now audio driver is really minimalistic : only 8KHz and I only > use G711 codec). > I also choose to use pjsip-jni project to glue with java (which I > tweaked a little bit in order to be compliant with the Dalvik JVM). > > > I will release an apk in next hours for those who want to test. And > i'll also give more information on how to build on http://code.google.com/p/csipsimple/ > . It will be also distributed on Google Marketplace and Archos > AppsLib. > > Of course, all this work is opensource (released under GPLv3). > > For now the build process is deeply linked to the android NDK (a > cross-compil facility toolkit). > But if you are interested, we could imagine to introduce the pjsip > (C) part of my project into a branch of pjsip (or trunk, since it > could be not intrusive just like symbian/wme specific code). > > I hope this sounds a good news to you. > I have already a contribution (independent from android port for > pjsua registration module ;) but I'll send it in another post :).... > one thing at time ). > > Let me know if you have any remarks or ideas; or if somebody is > interested joining this android project. > > Cheers, > Regis. _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
RM
Régis Montoya
Mon, Apr 5, 2010 11:48 AM

Ok,

So this two codecs will be the first i'll try to build and integrate.

I have already tried to integrate the speex codec but I think that I have
not the good parameters in configuration : I get a metallic voice; so I
postponed the integration of any codec after the alpha release.
I think that the big deal is to properly configure the codec parameters for
mobile. I have to dive into this page I think :
https://trac.pjsip.org/repos/wiki/PJMEDIA-MIPS and also look how they are
configured in symbian and windows mobile.

Is there another referring documentation about codecs configuration?

2010/4/5 Adrian Georgescu ag@ag-projects.com

Hi Regis,

This is a great achievement, congratulations!

I have one remark, it would make a huge difference compared with existing
SIP clients on mobile if wideband would be supported (g722/speex codecs).

Adrian

On Apr 5, 2010, at 12:27 PM, Régis Montoya wrote:

Hi all,

I'm really pleased to announce you the first alpha release of a portage of
pjsip for Android : CSipSimple (http://code.google.com/p/csipsimple)

It's based on the trunk branch (1.x).
And will evolves with updates of the trunk, since for now the aim is not to
have a stable application : there is a lot of work remaining on the android
application itself.

A part of the port was based on the excellent work of Jurij Smakov
(VoiDroid) but I re-wrote the audio driver with new audio-dev API. (For now
audio driver is really minimalistic : only 8KHz and I only use G711 codec).
I also choose to use pjsip-jni project to glue with java (which I tweaked a
little bit in order to be compliant with the Dalvik JVM).

I will release an apk in next hours for those who want to test. And i'll
also give more information on how to build on
http://code.google.com/p/csipsimple/ . It will be also distributed on
Google Marketplace and Archos AppsLib.

Of course, all this work is opensource (released under GPLv3).

For now the build process is deeply linked to the android NDK (a
cross-compil facility toolkit).
But if you are interested, we could imagine to introduce the pjsip (C) part
of my project into a branch of pjsip (or trunk, since it could be not
intrusive just like symbian/wme specific code).

I hope this sounds a good news to you.
I have already a contribution (independent from android port for pjsua
registration module ;) but I'll send it in another post :).... one thing at
time ).

Let me know if you have any remarks or ideas; or if somebody is interested
joining this android project.

Cheers,
Regis. _______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Ok, So this two codecs will be the first i'll try to build and integrate. I have already tried to integrate the speex codec but I think that I have not the good parameters in configuration : I get a metallic voice; so I postponed the integration of any codec after the alpha release. I think that the big deal is to properly configure the codec parameters for mobile. I have to dive into this page I think : https://trac.pjsip.org/repos/wiki/PJMEDIA-MIPS and also look how they are configured in symbian and windows mobile. Is there another referring documentation about codecs configuration? 2010/4/5 Adrian Georgescu <ag@ag-projects.com> > Hi Regis, > > This is a great achievement, congratulations! > > I have one remark, it would make a huge difference compared with existing > SIP clients on mobile if wideband would be supported (g722/speex codecs). > > Adrian > > > On Apr 5, 2010, at 12:27 PM, Régis Montoya wrote: > > Hi all, > > I'm really pleased to announce you the first alpha release of a portage of > pjsip for Android : CSipSimple (http://code.google.com/p/csipsimple) > > It's based on the trunk branch (1.x). > And will evolves with updates of the trunk, since for now the aim is not to > have a stable application : there is a lot of work remaining on the android > application itself. > > > A part of the port was based on the excellent work of Jurij Smakov > (VoiDroid) but I re-wrote the audio driver with new audio-dev API. (For now > audio driver is really minimalistic : only 8KHz and I only use G711 codec). > I also choose to use pjsip-jni project to glue with java (which I tweaked a > little bit in order to be compliant with the Dalvik JVM). > > > I will release an apk in next hours for those who want to test. And i'll > also give more information on how to build on > http://code.google.com/p/csipsimple/ . It will be also distributed on > Google Marketplace and Archos AppsLib. > > Of course, all this work is opensource (released under GPLv3). > > For now the build process is deeply linked to the android NDK (a > cross-compil facility toolkit). > But if you are interested, we could imagine to introduce the pjsip (C) part > of my project into a branch of pjsip (or trunk, since it could be not > intrusive just like symbian/wme specific code). > > I hope this sounds a good news to you. > I have already a contribution (independent from android port for pjsua > registration module ;) but I'll send it in another post :).... one thing at > time ). > > Let me know if you have any remarks or ideas; or if somebody is interested > joining this android project. > > Cheers, > Regis. _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
BP
Benny Prijono
Mon, Apr 5, 2010 11:57 AM

2010/4/5 Régis Montoya r3gis.3r@gmail.com:

Ok,

So this two codecs will be the first i'll try to build and integrate.

I have already tried to integrate the speex codec but I think that I have
not the good parameters in configuration : I get a metallic voice; so I

Metallic voice could be caused by linear resampling, maybe you
upsample from 8 to 16Khz?

postponed the integration of any codec after the alpha release.
I think that the big deal is to properly configure the codec parameters for
mobile. I have to dive into this page I think :
https://trac.pjsip.org/repos/wiki/PJMEDIA-MIPS and also look how they are
configured in symbian and windows mobile.

Is there another referring documentation about codecs configuration?

All the default parameters for Symbian and WM are in config_site_sample.h.

Great work btw!

Cheers
Benny

2010/4/5 Régis Montoya <r3gis.3r@gmail.com>: > Ok, > > So this two codecs will be the first i'll try to build and integrate. > > I have already tried to integrate the speex codec but I think that I have > not the good parameters in configuration : I get a metallic voice; so I Metallic voice could be caused by linear resampling, maybe you upsample from 8 to 16Khz? > postponed the integration of any codec after the alpha release. > I think that the big deal is to properly configure the codec parameters for > mobile. I have to dive into this page I think : > https://trac.pjsip.org/repos/wiki/PJMEDIA-MIPS and also look how they are > configured in symbian and windows mobile. > > Is there another referring documentation about codecs configuration? > All the default parameters for Symbian and WM are in config_site_sample.h. Great work btw! Cheers Benny
RM
Régis Montoya
Mon, Apr 5, 2010 4:52 PM

2010/4/5 Benny Prijono bennylp@teluu.com

Metallic voice could be caused by linear resampling, maybe you
upsample from 8 to 16Khz?

Oh, yes, I think you're right.
I only support 8KHz in the audio driver (and asserts on sample rates are not
done). I'll start to fix it :)

postponed the integration of any codec after the alpha release.
I think that the big deal is to properly configure the codec parameters

for

mobile. I have to dive into this page I think :
https://trac.pjsip.org/repos/wiki/PJMEDIA-MIPS and also look how they

are

configured in symbian and windows mobile.

Is there another referring documentation about codecs configuration?

All the default parameters for Symbian and WM are in config_site_sample.h.

Ok.

Many thanks Benny.

Regards,
Regis.

2010/4/5 Benny Prijono <bennylp@teluu.com> > Metallic voice could be caused by linear resampling, maybe you > upsample from 8 to 16Khz? > > Oh, yes, I think you're right. I only support 8KHz in the audio driver (and asserts on sample rates are not done). I'll start to fix it :) > > postponed the integration of any codec after the alpha release. > > I think that the big deal is to properly configure the codec parameters > for > > mobile. I have to dive into this page I think : > > https://trac.pjsip.org/repos/wiki/PJMEDIA-MIPS and also look how they > are > > configured in symbian and windows mobile. > > > > Is there another referring documentation about codecs configuration? > > > > All the default parameters for Symbian and WM are in config_site_sample.h. > Ok. Many thanks Benny. Regards, Regis.
刘可
Tue, Apr 6, 2010 12:32 PM

congratulations. I want to know where can download your project's source
code ,you said "all this work is opensource"

2010/4/5 Régis Montoya r3gis.3r@gmail.com

Hi all,

I'm really pleased to announce you the first alpha release of a portage of
pjsip for Android : CSipSimple (http://code.google.com/p/csipsimple)

It's based on the trunk branch (1.x).
And will evolves with updates of the trunk, since for now the aim is not to
have a stable application : there is a lot of work remaining on the android
application itself.

A part of the port was based on the excellent work of Jurij Smakov
(VoiDroid) but I re-wrote the audio driver with new audio-dev API. (For now
audio driver is really minimalistic : only 8KHz and I only use G711 codec).
I also choose to use pjsip-jni project to glue with java (which I tweaked a
little bit in order to be compliant with the Dalvik JVM).

I will release an apk in next hours for those who want to test. And i'll
also give more information on how to build on
http://code.google.com/p/csipsimple/ . It will be also distributed on
Google Marketplace and Archos AppsLib.

Of course, all this work is opensource (released under GPLv3).

For now the build process is deeply linked to the android NDK (a
cross-compil facility toolkit).
But if you are interested, we could imagine to introduce the pjsip (C) part
of my project into a branch of pjsip (or trunk, since it could be not
intrusive just like symbian/wme specific code).

I hope this sounds a good news to you.
I have already a contribution (independent from android port for pjsua
registration module ;) but I'll send it in another post :).... one thing at
time ).

Let me know if you have any remarks or ideas; or if somebody is interested
joining this android project.

Cheers,
Regis.


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

congratulations. I want to know where can download your project's source code ,you said "all this work is opensource" 2010/4/5 Régis Montoya <r3gis.3r@gmail.com> > Hi all, > > I'm really pleased to announce you the first alpha release of a portage of > pjsip for Android : CSipSimple (http://code.google.com/p/csipsimple) > > It's based on the trunk branch (1.x). > And will evolves with updates of the trunk, since for now the aim is not to > have a stable application : there is a lot of work remaining on the android > application itself. > > > A part of the port was based on the excellent work of Jurij Smakov > (VoiDroid) but I re-wrote the audio driver with new audio-dev API. (For now > audio driver is really minimalistic : only 8KHz and I only use G711 codec). > I also choose to use pjsip-jni project to glue with java (which I tweaked a > little bit in order to be compliant with the Dalvik JVM). > > > I will release an apk in next hours for those who want to test. And i'll > also give more information on how to build on > http://code.google.com/p/csipsimple/ . It will be also distributed on > Google Marketplace and Archos AppsLib. > > Of course, all this work is opensource (released under GPLv3). > > For now the build process is deeply linked to the android NDK (a > cross-compil facility toolkit). > But if you are interested, we could imagine to introduce the pjsip (C) part > of my project into a branch of pjsip (or trunk, since it could be not > intrusive just like symbian/wme specific code). > > I hope this sounds a good news to you. > I have already a contribution (independent from android port for pjsua > registration module ;) but I'll send it in another post :).... one thing at > time ). > > Let me know if you have any remarks or ideas; or if somebody is interested > joining this android project. > > Cheers, > Regis. > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
RM
Régis Montoya
Tue, Apr 6, 2010 12:46 PM

Source code is hosted at google code (svn):
http://code.google.com/p/csipsimple

There is also the instructions on how to build now.
http://code.google.com/p/csipsimple/wiki/HowToBuild
(Say me if you have problems while compiling using this instructions so I
can update the wiki page).

2010/4/6 刘可 liukesp@gmail.com

congratulations. I want to know where can download your project's source
code ,you said "all this work is opensource"

2010/4/5 Régis Montoya r3gis.3r@gmail.com

Hi all,

I'm really pleased to announce you the first alpha release of a portage of
pjsip for Android : CSipSimple (http://code.google.com/p/csipsimple)

It's based on the trunk branch (1.x).
And will evolves with updates of the trunk, since for now the aim is not
to have a stable application : there is a lot of work remaining on the
android application itself.

A part of the port was based on the excellent work of Jurij Smakov
(VoiDroid) but I re-wrote the audio driver with new audio-dev API. (For now
audio driver is really minimalistic : only 8KHz and I only use G711 codec).
I also choose to use pjsip-jni project to glue with java (which I tweaked
a little bit in order to be compliant with the Dalvik JVM).

I will release an apk in next hours for those who want to test. And i'll
also give more information on how to build on
http://code.google.com/p/csipsimple/ . It will be also distributed on
Google Marketplace and Archos AppsLib.

Of course, all this work is opensource (released under GPLv3).

For now the build process is deeply linked to the android NDK (a
cross-compil facility toolkit).
But if you are interested, we could imagine to introduce the pjsip (C)
part of my project into a branch of pjsip (or trunk, since it could be not
intrusive just like symbian/wme specific code).

I hope this sounds a good news to you.
I have already a contribution (independent from android port for pjsua
registration module ;) but I'll send it in another post :).... one thing at
time ).

Let me know if you have any remarks or ideas; or if somebody is interested
joining this android project.

Cheers,
Regis.


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Source code is hosted at google code (svn): http://code.google.com/p/csipsimple There is also the instructions on how to build now. http://code.google.com/p/csipsimple/wiki/HowToBuild (Say me if you have problems while compiling using this instructions so I can update the wiki page). 2010/4/6 刘可 <liukesp@gmail.com> > congratulations. I want to know where can download your project's source > code ,you said "all this work is opensource" > > > > 2010/4/5 Régis Montoya <r3gis.3r@gmail.com> > >> Hi all, >> >> >> I'm really pleased to announce you the first alpha release of a portage of >> pjsip for Android : CSipSimple (http://code.google.com/p/csipsimple) >> >> It's based on the trunk branch (1.x). >> And will evolves with updates of the trunk, since for now the aim is not >> to have a stable application : there is a lot of work remaining on the >> android application itself. >> >> >> A part of the port was based on the excellent work of Jurij Smakov >> (VoiDroid) but I re-wrote the audio driver with new audio-dev API. (For now >> audio driver is really minimalistic : only 8KHz and I only use G711 codec). >> I also choose to use pjsip-jni project to glue with java (which I tweaked >> a little bit in order to be compliant with the Dalvik JVM). >> >> >> I will release an apk in next hours for those who want to test. And i'll >> also give more information on how to build on >> http://code.google.com/p/csipsimple/ . It will be also distributed on >> Google Marketplace and Archos AppsLib. >> >> Of course, all this work is opensource (released under GPLv3). >> >> For now the build process is deeply linked to the android NDK (a >> cross-compil facility toolkit). >> But if you are interested, we could imagine to introduce the pjsip (C) >> part of my project into a branch of pjsip (or trunk, since it could be not >> intrusive just like symbian/wme specific code). >> >> I hope this sounds a good news to you. >> I have already a contribution (independent from android port for pjsua >> registration module ;) but I'll send it in another post :).... one thing at >> time ). >> >> Let me know if you have any remarks or ideas; or if somebody is interested >> joining this android project. >> >> Cheers, >> Regis. >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >