iLBC + PJSUA on TI DaVinci

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

 



Hello,
I've compiled the pjproject 1.0.1 for TI DaVinci DM355. Initially there was
problem in the audio. Everything was jittery and nothing could be made out.
Then I used the following method to compile:

$ ./aconfigure --host=armv5tl-montavista-linuxeabi CFLAGS='-O2 -msoft-float
-DNDEBUG' --disable-floating-point
$ make ARCH=arm CROSS_COMPILE=arm_v5t_le-

And executed pjsua as:

$ ./pjsua-armv5tl-montavista-linux-gnueabi --app-log-level=2 --stereo
--ec-tail=0 --add-codec pcmu --dis-codec speex --dis-codec ilbc --dis-codec
GSM --dis-codec G722 --clock-rate=8000 --snd-clock-rate=8000

Then the audio was clean. Since --add-codec pcmu was used, PCMU codec was
used by default.

Then I changed to iLBC by running the same pjsua build as:

$ ./pjsua-armv5tl-montavista-linux-gnueabi --app-log-level=2 --stereo
--ec-tail=0 --dis-codec pcmu --dis-codec speex --add-codec ilbc --dis-codec
GSM --dis-codec G722 --clock-rate=8000 --snd-clock-rate=8000

Now again the audio is very jittery, just like the first problem I had faced
(described above). I'm not sure if "jittery" is the correct word to describe
it. I can barely make out that someone is speaking from the other end of the
call, but cannot understand what it is... I'm new to VOIP and PJSIP so
kindly help me out.

I even changed the default iLBC mode from 30 to 20:

pjmedia/src/pjmedia-codec/ilbc.c:
//#define DEFAULT_MODE 30
#define DEFAULT_MODE 20

pjsip/include/pjsua-lib/pjsua.h
#ifndef PJSUA_DEFAULT_ILBC_MODE
//#   define PJSUA_DEFAULT_ILBC_MODE 30
#   define PJSUA_DEFAULT_ILBC_MODE 20
#endif

I also played around with the --ec-tail=X command line parameter. There is
some change in way the received audio plays out but it is not at all
understandable.

Kindly help me out.

Best regards,
Kapil Pendse
TekKraft


-- 
"The Power to Imagine, is The Power to Create!"
-TTux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090401/3a02ebc3/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux