[pjsip] Adding codecs & conference

Thanh Nghiem Le nimkgb at gmail.com
Mon May 12 11:05:06 EDT 2008


Hi Benny,
Thank you so much for your quick reply!
Actually, I have not think that the problem is because of PJSIP, also my CPU
run around 20% (16 - 27).

About the codec, I am using the one from VoiceAge, you can also have a look
at this link http://www.voiceage.com/prodg729.php
I am not sure that it supports multi calls or not. It is the only one that I
can get from the internet for testing. Anyone have experiences about this
library , please tell me!
As I mention from the first email, I may miss something in my g729.c file, I
build it base on gsm.c and g711.c
Here is some main points that I concentrate on:


attr->info.clock_rate = 8000;

attr->info.channel_cnt = 1;

attr->info.avg_bps = 31200;

attr->info.pcm_bits_per_sample = 16;

attr->info.frm_ptime = 10;

attr->info.pt = PJMEDIA_RTP_PT_G729;

attr->setting.frm_per_pkt = 1;

attr->setting.vad = 0;

Please give me some important points on this file that could lead to the
problem.

If you know any good G729 library, please also point me there, I would buy
it if I success implement it

finally, I am using 0.8 version.

Thanks for your time!!!

Best regards


On Mon, May 12, 2008 at 6:51 PM, Benny Prijono <bennylp at pjsip.org> wrote:

> On Mon, May 12, 2008 at 3:52 AM, Thanh Nghiem Le <nimkgb at gmail.com> wrote:
> > Hi Benny,
> >
> > > What ports are you connecting in the bridge?
> > Say I have 2 calls
> > port 0 is transmiting to port 1 , 2
> > so I do cc 1 2 and cc 2 1
> >
> > I try in Vista Home Premium, Ubuntu 8.04, MAC leopard 10.5 and got the
> same
> > result
> > I did more on reserching and found that the problem I have is exactly
> the
> > same with the one below, I also tried the solutions that you suggest but
> non
> > of them work.
> >
>
> For now, I tend to think that the problem is with the G729 codec that
> you're using or perhaps your wrapper implementation. Which library is
> that? What's the CPU utilization when you have two calls? Does the
> library support multiple calls? As Nanang said, if the implementation
> doesn't support multiple calls (e.g. non-const global variables) then
> something will break when more than one calls are created.
>
> And like you said, the audio is fine with other codecs, so I don't
> suppose this is PJSIP problem. We also tried with Speex and iLBC (on
> Windows), which both should be heavier than g729 in terms of
> processing, and the audio is fine. We use the latest SVN version.
>
> Cheers
>  Benny
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



-- 
Jackal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080513/81915ef7/attachment.html>


More information about the pjsip mailing list